Jump to content

.htaccess in root causing problem in forum sub folder


OrahChris

Recommended Posts

Posted

 

I have iThemes security installed on wordpress which is located in my root folder. However some of it's .htaccess rules are leaking into the forum sub folder. I'd like to blanket exclude any rules from my root .htaccess from being applied to the forum subfolder.  (The forum sub folder already has it's own rule set) 

Can I place the following at the beginning of the root .htaccess?:

RewriteRule ^/ - [L]

I'm hoping this will stop anything from be applied to the sub folder 

 

Thanks!

 

Posted

Thanks!

I used 

=========[ start of .htaccess snippet]==========
<IfModule mod_rewrite.c>
  RewriteEngine on
  #
  # stuff to let through (ignore)
  RewriteCond %{REQUEST_URI} "/forum/"
  RewriteRule (.*) $1 [L]
  #
====================[ end ]=====================

I placed it at the start of the .htaccess doc and hopefully that will resolve any further issues :) (though other feedback is welcomed!) 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...