Mobile app version of vmapp.org
Login or Join
Alves908

: Redirecting domains, sub domains and single pages on Siteground I'm having serious issues with Siteground to get my redirects working. They did work on another hoster so it is possible. However,

@Alves908

Posted in: #Domains #Htaccess #Redirects #Subdomain

I'm having serious issues with Siteground to get my redirects working. They did work on another hoster so it is possible. However, that server configuration was very different so I cannot copy what we had there.
SG has been messing up my site all day long and now says they don't know if they can do it.

I'm not very good with redirect rules so hoping that someone here can point me in the right direction.

We have one WordPress installation and one main domain to which all redirect.
There are a ton of different domains (.net, org., etc) that just forward to the main site, let's say: www.example.com No issues with that. DNS point to Siteground IP and on SG these domains are entered as 'parked domains'.
Forwarding and SSL all work.

This is what needs to be done:


wholesale.example.com -> example.com/wholesale
example.net -> example.com/kids
example.net/. (any page on example.net except for #4 ) -> example.com/kids
example.net/wholesale -> example.com/page3
wholesale.example.net -> example.com/page3


During the day I have seen various combinations working. but never all at once.
SG said we need example.net as an 'addon domain' which creates a folder /example.net in the root.
Then they also created a folder /wholesale which makes #5 work but creates a 403 forbidden error for #1

Any ideas what the correct set up would need to be?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves908

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme