I am moving my wordpress site to a new domain (1 post)

  1. anik424
    Posted 3 years ago #

    I am moving my wordpress site from mywindows.in to mywindows8.org
    (In wordpress I am using non-WWW as my site URL and in Google Webmaster my prefered domain is also set to non-www version.)
    For a search engine friendly 301 redirection what should i write in my old domain's .htaccess file??

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !mywindows8.org$ [NC]
    RewriteRule ^(.*)$ http://mywindows8.org/$1 [L,R=301]


    Redirect 301 / http://mywindows8.org/

Topic Closed

This topic has been closed to new replies.

About this Topic