Non-WP Directory Redirects to home page after 2.7 Upgrade (3 posts)

  1. austink
    Posted 7 years ago #

    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?

  2. bekabug
    Posted 7 years ago #

    This is pretty typical.

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

  3. Lee Rickler
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic