chris at chrisirwin.ca
Mon Jan 4 14:15:07 EST 2010
On Mon, Jan 4, 2010 at 13:58, Insurance Squared Inc. <
gcooke at insurancesquared.com> wrote:
> Is there a way to have some htaccess directives only apply to a main
> folder, but not subfolders? or even better, to have it apply to all except
> 'some' subfolders?
> I'm using a wordpress install that uses htaccess to redirect pages, but
> it's affecting some subfolders and causing other stuff to not work.
There are two examples on Stack Overflow. The first is using a redirect for
.html files in the top-level only, and another matches a list of applicable
Depending on your rules, you may be able to simply rewrite them to be more
precise (for example: Redirects for an old site, etc).
<chris at chrisirwin.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kwlug-disc_kwlug.org