• I have two instances of WordPress running in separate directories. I decided to use the custom permalinks on the first install, so I created a .htaccess file for the rewrite rules and put that in directory1. …works fine.
    Then, I decided it would be good to have the custom permalinks on the second installation as well. However, if I put a .htaccess file in directory2 (with the rewrite rules), I get internal server error pages, whenever I try to access that directory or the WP administration. (Directory1 install still works fine).
    I thought maybe the two .htaccess files were conflicting with each other, so I created a merged .htaccess file and put this on the root of the server – then neither of the directories worked.
    So, I’m back to the one .htaccess file in directory1, and no custom permalinks on directory2….
    ???

Viewing 4 replies - 1 through 4 (of 4 total)
  • Each directory can have it’s own permalinks, so long as they don’t conflict unduly with a htaccess in a parent directory.

    that means, is one WP running inside another WP folder?

    Thread Starter gaszer

    (@gaszer)

    No, there are two separate installs in two different directories…..

    Thread Starter gaszer

    (@gaszer)

    Okay, got it working. It looks like the .htaccess file I created locally and then uploaded was corrupt in some way (it seemed to have the right permissions), but as soon as I made a blank .htaccess file, uploaded it, and then edited it with WordPress, it works fine!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘multiple .htaccess files’ is closed to new replies.