I just moved WP install from root directory to sub folder.
hosted index.html simple website on the root. Sub folder has wordpress /blog.
Now after moving wp to sub folder, the 301 redirects aren’t working for the blog post that was hosted on the root directory.
The exact same issue am facing has been blog posted here – http://john.do/301-sub-folder/
The solution given here works fine. The only issue am facing is, in the htaccess file it redirects all the files other than index.html.
so the images folder which serves index.html also redirects to /blog.
By adding a line of code n htaccess file can make the images folder and other folders which serves index.html make it not redirect to /blog?
- The topic ‘301 Redirect Root to Subfolder – htaccess not working.’ is closed to new replies.