• I recently moved WP blog to sub-domain of Domesticnest.com located at http://blog.domesticnest.com. Previously I had the blog installed in a subfolder of the root directory called “blog”. Now if someone goes to blog at old URL http://www.domesticnest.com/blog they rec’v Page not Found Error. I have installed a redirect plugin and created a permanent redirect (301) to http://blog.domesticnest.com, but this doesn’t redirect traffic. I have altered the .htaccess file in the /blog folder. Here is the code

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteRule ^http://domesticnest\.com/blog$ /http://blog\.domesticnest\.com [R=301,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Any assistance would greatly help as I’m out of ideas. Is this because I’m re-directing the old URL page to the new sub-domain located in the same folder (/blog).

The topic ‘Problem Redirect’ is closed to new replies.