WordPress.org

Ready to get started?Download WordPress

Forums

redirect my site (4 posts)

  1. empror9
    Member
    Posted 2 years ago #

    hello,

    i have two domains. i'm now using the old one (arabcafe10.net) , now i want to move to my new domain (3rbc.net) how can i do that?

    i tried to add some code in hattce file but it shows me error.

    so can someone help please?

    thank you

  2. Try the following code in your old site's htaccess:

    Options +FollowSymLinks
    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^arabcafe10.net$ [NC]
    RewriteRule ^(.*)$ http://3rbc.net/$1 [R=301,L]

  3. empror9
    Member
    Posted 2 years ago #

    hi, it works only for my index page. but if i open any link for the posts from google it's doesn't redirec to the new domain

  4. empror9
    Member
    Posted 2 years ago #

    i need help please

Topic Closed

This topic has been closed to new replies.

About this Topic