• Resolved rspenc29

    (@rspenc29)


    I installed wordpress into a sub directory on my website. Its at mywebsite.com/blog/ I have many other folders on the website that have nothing to do with the blog and I can access all of them except mywebsite.com/admin/ For some reason when I try to access that folder, I get a 404 error. And its not my original 404 error its the one from my wordpress blog. I have no idea whats causing this. It must be a .htaccess problem. Any help would be appreciated. Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Is the .htaccess in /blog?

    Thread Starter rspenc29

    (@rspenc29)

    no the .htaccess isnt in /blog I added the mod rewrite code into my main .htaccess file but I found a fix for it.

    http://trac.wordpress.org/ticket/3796

    When permalinks are enabled from the admin interface it prevents access to a password protected folder within the root directory and supplies a 404.

    I have found that a way to fix this would be to add the following lines before the wordpress part of the .htaccess:

    ErrorDocument 401 /secure/
    ErrorDocument 403 /secure/

    Changing /secure/ to the name of the folder that access is required for. This could be implemented into the admin interface in the style of a few text boxes where folder names can be inserted and the interface generates the lines necessary to allow access to the folder.

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

The topic ‘Error 404’ is closed to new replies.