Support » Fixing WordPress » URL structure is interfering with other things

  • So I have WordPress installed in root:

    then I install another script (not releated to WordPress) at

    But it can not access that, because it says “Post can not be found”, so WordPress thinks it is a post, while it is another file that I need to access.

    So WordPress is interfering. I have tried to change structure to the “default” one, but that did not work either.

    I also tried another type of file, same problem, I can not access it because WordPress think it is something for itself.

    So how to fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Is the /script directory password protected by any chance?

    Nope, it is not password protected.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Then what you’re describing should not happen. The .htaccess that WordPress uses has two rules in it that explicitly allows requests for existing files/directories to go through and not get redirected to WordPress.

    Those would be the lines in the .htaccess ending with -f and -d, respectively.

    Note that if these lines did not actually work, your WordPress pages would look rather odd, since all the stylesheet and images and such on the page are using direct requests and not relying on WordPress’ redirects.

    So either your WordPress page looks terrible, or you misspelled or mistyped the URL, or something else is going on. When you get redirected to WordPress, then the file is not found where you think it should be.

    Is the file a symbolic link? Is the directory a symbolic link? What’s special about your file or your particular case that is letting that particular file not get found while all the others are (stylesheets, images, etc)?

    Alright thanks for the tips. It is maybe not WordPress.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘URL structure is interfering with other things’ is closed to new replies.