Support » Fixing WordPress » I am moving my wordpress site to a new domain

  • 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]

    or

    Redirect 301 / http://mywindows8.org/

  • The topic ‘I am moving my wordpress site to a new domain’ is closed to new replies.