Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other 1 WordPress site with multiple domain spellings? Re: 1 WordPress site with multiple domain spellings?

#106097
Senff
Participant

Actually, it doesn’t have to be messy that way.

Let’s say that your web site files are in the folder “/www/”.
Then all domains should point to that folder – http://www.my-site.com, http://www.mysite.com, http://www.mysite.nl, etc. It’s four domains set up in your web server, but they all point to the same actual content.
Seems that’s what your IT department has set up so far.

So whenever you go to http://www.mysite.com/blah/image.jpg, it will point to /www/blah/image.jpg. And http://www.my-site.com/blah/image.jpg, http://www.myste.com/blah/image.jpg, and so on — they all point to the same file on the server.

So as long as your IT department just has all those domains point to the same folder on the server, it’s not really that messy, really. :)

A redirect with .htaccess would actually end up the same. Someone goes to http://www.my-site.com/abcd and the .htaccessfile points it to http://www.mysite.com/abcd even though the URL in the address bar would still show http://www.my-site.com/abcd .

A “full domain name” redirect would be more messy in my opinion: someone goes to http://www.my-site.com/efgh and the whole thing would redirect to the main page of http://www.mysite.com — not where the user wanted to go.

Now, if your IT department has set up multiple domains pointing to different folders on the server, THAT would be messy. For example:

http://www.mysite.com/ points to /www/mysite/
http://www.my-site.com/ points to /www/my-site/
http://www.myste.com/ points to /www/myste/

Hope that makes sense!