Support » Installation » Non-WP Directory Redirects to home page after 2.7 Upgrade

Non-WP Directory Redirects to home page after 2.7 Upgrade

  • Not even sure how to describe this problem, but I will try.

    I upgrade to 2.7 and everything works fine.

    BACKGROUND: The wordpress install is in the rootdirectory. (ie http://www.example.com, not http://www.example.com/blog). Also within that root directory is a secure directory (www.example.com/secure) which has some files that edits/pulls data from a different MySQL database (not the wordpress database — it displays some tables of info on certain pages).

    Going to http://www.example.com/secure and using the directory password has always worked to get to these forms which we had written by another person.

    PROBLEM: Now that I have upgraded the WordPress install to 2.7, when I log into the secure directory the form loads fine. However, when I enter any criteria that pulls from the different MySQL database to return a table, it redirects me to the homepage.

    QUESTION: Is there something new about the way that WordPress 2.7 does the .htaccess rules that would impact this directory? Anything I can do to tell WordPress to just ignore that directory completely?

Viewing 2 replies - 1 through 2 (of 2 total)
  • bekabug


    This is pretty typical.

    Do you have an .htaccess file in your secure directory?

    same problem here and I need to fix it asap.

    Standard htaccess commands disallow access to sub folders.

    domain.com/project_name – works fine
    domain.com/folder/ – 404 error even thought I know 100% that it exists.


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    Currently I don’t have htaccess in the subfolder.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Non-WP Directory Redirects to home page after 2.7 Upgrade’ is closed to new replies.