Viewing 1 replies (of 1 total)
  • make sure to check teh .htaccess files in the parent folders of the WP root folder to see if there are any other redirects that may be causing this.

    .htaccess files are a) recursive on subdirectories and b) cumulative in reverse. This can be difficult to understand.
    -The .htaccess in the root directory applies to everything on the site, because it applies to the subdirectories.
    -An .htaccess in a subdirectory can override stuff that the parent .htaccess has set.
    -RewriteRules apply in reverse order. That is, the current directory rewrites apply first, then the parents rewrites, and so on. The [L], as always, stops processing, even of the parent’s rewrites.

Viewing 1 replies (of 1 total)

The topic ‘htaccess redirect 301 going to wrong location’ is closed to new replies.