Jump to content

.htaccess in root causing problem in forum sub folder

Featured Replies

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!

 

  • Author

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!) 

 

  • Author

Actually cancel that, it kills off the whole forum with an internal server error. Looks like I'll have read on a little more

Archived

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

Recently Browsing 0

  • No registered users viewing this page.