Replace all URL's for my WordPress site using a different domain name?
-
Hi there and thanks for any help,
I’ll try to be as specific as possible with explaining this. The domain names used are only examples, so if you could use those example names in your answer that would be great. I’m having a very hard time wording exactly what I’m trying to do and because of that can’t find the answer via searching, so I’m posting it as this analogy:
—–
I work for a company that makes WordPress sites. We’ll call that company SuperMedia, and their main website is https://www.supermedia.com. SuperMedia wants to host their clients’ sites on their own server via subfolders. So in this case, we’ve created a client’s WordPress site in the directory https://supermedia.com/greatclient/
The issue is that our client has a domain name, https://www.friendlyclient.com, and we need to link this domain name to their site which we are hosting on our server, but we don’t want the urls to show “supermedia” at all.
—–
So in simplest terms, right now all of our page urls look like this:
https://supermedia.com/greatclient/about
https://supermedia.com/greatclient/our-services
https://supermedia.com/greatclient/gallery
(etc…)But we want them all to say:
https://friendlyclient.com/about
https://friendlyclient.com/our-services
https://friendlyclient.com/gallery
(etc…)but still display the information on https://supermedia.com/greatclient/about, https://supermedia.com/greatclient/our-services, https://supermedia.com/greatclient/gallery, and so on.
—–
Is there a simple, fairly fast way to do this for all the pages we’ve created, either using .htaccess or some kind of plugin? I don’t have a lot of back-end programming/database knowledge, so if it involves that could you provide me with some clearly laid-out steps on how I can achieve this?
Thanks so much in advance and if you need more clarification, please let me know.
- The topic ‘Replace all URL's for my WordPress site using a different domain name?’ is closed to new replies.