WordPress.org

Ready to get started?Download WordPress

Forums

Can't access non-wordpress subdirectories as wordpress overrides them with a 404 (2 posts)

  1. nicole2292
    Member
    Posted 3 years ago #

    I refer to this question previously asked a lot of times on the net and not suitably answered: WordPress (installed on root) is overriding actual unrelated (non-wordpress) sub-directories and also Non "WordPress" pages. All are getting a 404 error.

    I have tried nearly everything I found on the net. It's definitely related to having permalinks turned on in the wordpress. However, I have put a new .htaccess file in the subdirectory with:

    RewriteEngine off

    and the problem still exists. Even if I completely delete the wordpress .htaccess file the problem still exists.

    I have also tried some other suggested solutions such as ErrorDocument 401 "Unauthorized access" and ErrorDocument 404 "Unauthorized access" and Redirect 301 /mysubdirectory http://www.mydomain.com/mysubdirectory/index.html in various locations all to no avail.

    Can someone please offer another solution? The only way I can fix it is to turn permalinks off on the wordpress site but we need them to be on.

    Thanks,

    Nicole

  2. s_ha_dum
    Member
    Posted 3 years ago #

    This might take some time to sort out but what you want is possible.

    First, this isn't WordPress in the broad sense. Generally, I've been able to put folders in with WP and get to them with no problem so long as the (sub)directory names do not conflict with anything WordPress might be looking for. I've done this a number of times, all with pretty permalinks on. The first step is going to be figuring out what is peculiar about your installation. So...

    1) What is you actual domain name?
    2) What is in your .htaccess file, exactly?
    3) What is your permalink structure?

Topic Closed

This topic has been closed to new replies.

About this Topic