Wordpress website - two domain names - is this possible ?

by 11 replies
13
I already have a Wordpress website on a single domain and I want to have another domain name pointing to this website. This is only required for the landing page. For example: lets assume that my current domain name is www.domain1.com
you can have a landing page similar to:
www.domain1.com/page11
www.domain1.com/page2

I want to be able to view the above pages when using url:
www.domain22.com/page11
www.domain22.com/page2
With the new domain name - I only care about the landing page - if you click on any link in the landing page I will use the old domain name.

I don't want to replicate my website and I only want to do it for the landing page.

Is this possible ?
#programming #domain #names #website #wordpress
  • Sure! The second domain will just have a single file which redirects every hit to the first domain. (Don't forget the dot before the h in the file name.) If it's critical that the URL stays in the second domain, then build a single frame dynamically so that it "looks" like you're still in the second domain while you're displaying content from the first. Given that you're OK with remaining clicks going to the original domain, this latter approach is probably not worth the effort.
    • [ 1 ] Thanks
  • Wouldn't a simple redirect work for this? Your domain22 is just redirected to the domain1 at the registrar. Or am i missing something?
    • [1] reply
    • The solution that I am describing would redirect each URL to the corresponding URL in the other domain, as requested.
      • [ 1 ] Thanks
      • [1] reply
  • Easiest way I found is free service at Title

    Simply enter the original url and the url that you want it to redirect it to then save the file on your computer.
    Next step is to then upload that file to your landing page site so that when someone lands on it , they will be redirected to where you want and most importantly, the url in the bar stays the same so the person still thinks they are on the original page/domain they first went to.
    Scotty

    PS forgot to mention your links on your landing page will need to have the (dot)htm after it so it works
  • A wise way to do this:
    - Just copy the whole website in another folder and put it into your root directory.
    - Now use 'add one domain' option [if your host supports] to point the new domain to the new folder.
    - Configure the WP settings in database and admin

    You are done!

    redirecting url may kill your seo status.
    Hope that helps
  • If the goal is just to have one wordpress installation respond to two names then I think the easiest solution is to simply install a domain mapping plugin in wordpress.
  • you have to redirect 2nd domain by using 301 redirection in .htaccess file, which redirects 2nd domain's every visit to the first domain.

Next Topics on Trending Feed