Is there a way to map a domain name to a WordPress page?
For example, if I have mydomain.com/about/bio and mydomain.com/about/resume, could I map anotherdomain.com to the about page so I could use anotherdomain.com/bio and anotherdomain.com/resume?
Additionally, could I do it with a subdomain too?
Using the same example above, could I map about.anotherdomain.com to mydomain.com/about?
With WordPress, these aren’t physical folders. They’re pretty permalinks, so I’m having trouble figuring out how to make this work.
We have a Plesk control panel.
Thanks for any insight you can provide!
Edit:
The domains that I’d like to map to different parts of the URL may be registered from various providers.
You can achive this using the
.htaccess
file….Just point the A record of your domain names to your domain. Now do the following…
Two possibilities you can explore:
A/ Using the plesk (or other registrar), you could try a wild-card redirect such as:
B/ If that fails, you can create a simple redirect (anotherdomain.com -> mydomain.com) and then in WordPress (assuming it’s living at mydomain.com), manually redirect individual URLs using the Redirection Plugin.
You would create individual rules like:
C/ Finally, WordPress has become so good at redirecting broken links that you might be able to get away with simply redirecting the anotherdomain.com to mydomain.com and seeing if wordpress serves the correct page when an approximate URL is entered.
Good luck!
if was me, I would do by 2 ways: