domain redirect (7 posts)

  1. Fine Line
    Posted 5 years ago #

    I have 2 wordpress sites - http://www.mybeautifulchandelier.com and http://www.mybeautifulchandelier.org. I want to redirect traffic to my .org site so that, if people put in the .com address, they will automatically be redirected to the .org address. How do I do this?

    My host is 5quid host, if that helps.


  2. Two ways.

    1) .htaccess

    2) Park the domain on top of the other one.

  3. Fine Line
    Posted 5 years ago #

    Thank you so much for that. How do I do either of those?

  4. For domain parking, ask your host (they have different setups often).

    For .htaccess you have to buy hosting for your domain and then put this in the top of your .htaccess:

    #Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www.olddomain.com$[OR]
    RewriteCond %{HTTP_HOST} ^olddomain.com$
    RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]
  5. Roswitha Gerhart
    Posted 4 years ago #

    I tried this rewrite code, as I have the same constellation of websites and want to redirect one page (abc.com) to the WordPress installation on the other domain (a-b-c.com).
    The domains both are rooted to the same directory and when I start the second domain, WordPress (with activated MultiSite) treats it as if I try to register a new blog and leads to the following URL:
    Is it possible to completely treat the WordPress start as if I had started the a-b-c.com ULR when entering abc.com?

    The Rewrite-Code does not change the start of the website in my installation. The website is treated in the same way with or without the rewrite condition.
    Thank you for your kind help!

  6. Multisite is a WHOLE different kettle of wax, Roswitha :) Post what you wanna do up in the Multisite Forum please.

  7. Roswitha Gerhart
    Posted 4 years ago #

    Thank you very much for your tip. I will ask in the MultiSite forum.
    Best wishes, RGerhart

Topic Closed

This topic has been closed to new replies.

About this Topic