• I have tried for a good 2 hours to figure this out. No matter what I do to my root .htaccess, or the subdirectory .htaccess I cannot get WordPress to ignore the darn subdirectory. Basically, I have multiple subdirectories that I do not want WordPress to mod_rewrite. I have installed wordpress into its own folder, and moved the index.php up to the root of my website. For some reason, if I modify the rewrite rules to ignore /dev/ I get a forbidden on my main page but the subdirectory htaccess permissions work (i.e. the AuthType Basic instructions in that subdirectories own .htaccess).

    Main issue is that I need to password protect directories, and I need to not allow indexing (viewing of all contents without an index page).

    Please, anyone with an idea please send it my way. I have tried everything listed on these boards at least twice.

    Thanks,
    – William

Viewing 5 replies - 1 through 5 (of 5 total)
  • can’t you turn-off mod_rewrite using the .htaccess fie that resides inside the excluded directory? otherwise, using the root .htaccess may create some issues.

    and exactly what mod_rewrite directives are you using in your .htaccess file disable it?

    Thread Starter abyssknight

    (@abyssknight)

    “RewriteEngine off”, which does not work for some reason, is what I was using to turn it off.

    Thanks for the reply, by the way.

    I searched this forum for this exact same problem. however there is no resolution. I have the same problem. putting a .htaccess in a sub dir with rewriteengine off doesnt help! and I still have the default wordpress .htaccess.

    What should i do?

    Thanks!

    wp install: http://kunjan.net
    sub dir in question: http://kunjan.net/stats/

    Adding “AllowOverride All” to the root .htaccess

    breaks the wp-rewrites

    /stats/ folder doesnt seem to work with dreamhost

    renaming that folder helped!

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

The topic ‘Subdirectory and RewriteEngine issues…’ is closed to new replies.