Support » Fixing WordPress » Subdirectory Woes

  • I have a problem I cant seem to resolve. It’s beginning to drive me bonkers.

    I have WP installed in my root dir of my domain. Inside the root there are also some sub directories that have nothing at all to do with WP. Basically some third party apps that should run when you enter the full url.


    WP thinks this is a permalink that doesn’t exist and it automatically throws a 404. I need it to stop doing that 😉

    I killed my htaccess file and regenerated my permalinks, cleared my browser cache and still – no love.

    Any suggestions?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Anyone?

    Just some thoughts. Is it a php/databse driven app that could be improperly configured (setup issue)? If not, does the directory contain an index file? If it does, can you force it to load by typing in the browser? What happens if you just add a trailing slash? Is 404 the only error you are getting, and what app are you trying to run from the sub-directory? That might reveal a clue or two.

    I am having this same issue both with an install of mint and fever. I recently migrated my site to a new web host and the site itself is working fine, however, when I attempt to navigate to one of the third party applications via I am unable to get the application to load. Actually, in one instance (mint) the page loads but does not apply any formatting, in the other instance (fever) I get a 404.

    I attempted your suggestions, for fever I navigated to but to no avail.

    Just to let you know I have my wordpress install in a wordpress folder in my root directory. This is the same directory in which my mint and fever folders reside. I have copied the exact same structure and databases from my previous server. I have also copied the same .htaccess file into my server’s root directory.

    Thank you in advance for any help.

    I am also having this same issue.

    Going direct to the index.php is not working for me.

    Anyone else have any ideas?

    Just figured I would update you. Still no success, it doesn’t really matter what added script I use. It still doesn’t work (ive tried a few).

    I have the same problem as you all do.
    If I remove the .htaccess file from the subdirectory of the 3rd party app (in my case oscommerce), i can go there. With the .htaccess file intact WordPress injects itself and redirects me to its 404 page.

    I tried this folder redirect but without avail.

    RewriteCond %{REQUEST_URI} !^/(yourfolder|yourfolder/.*)$

    WordPress still redirects to its 404.

    Any help will be very welcomed.

    Well, at last I found a solution that worked fine for me.
    Try it and let me know if it works for you too.

    Add this line of code inside the .htaccess of any sub-directory that you don’t want to be taken into account by WordPress:

    ErrorDocument 401 "Unauthorized"

    Remember, don’t add this code into the WordPress .htaccess file, but inside other sub-directories. In my case, it was an oscommerce install.

    Hope it helps!

    I’m running into the same issue and nothing seems to work.

    According to the Fever web site

    Your CMS or blogging software might be interfering with the request. Try adding an .htaccess file to the /fever/ directory containing the following:

    <IfModule mod_rewrite.c>
        RewriteEngine   off

    And I tried epsil’s suggestion of ErrorDocument 401 "Unauthorized" and that didn’t work either.

    Anyone have any other suggestions?

    I’m having this same problem. Has anyone found a solution?

    I was able to resolve this by setting permissions on the files in the subdirectory and tweaking a setting in my third party app.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Subdirectory Woes’ is closed to new replies.