How to add exception to WordPress’s web.conf

I have a WordPress install on a Windows/IIS server.

But, WordPress’s URL rewrite rule is preventing the redirect in a sub-directory from being executed. I tried adding a condition to WP’s rule, but to no avail.

Read More

How can I except a single directory from WP’s rewrite rules?

Here’s the current relevant code from the web.conf in webroot with my attempt at an exception rule: http://d.pr/n/xCI4

Related posts

1 comment

  1. If you make the file non-writable by the webserver, then WordPress won’t attempt to rewrite it, because it checks that it is writable before writing to it. So your custom rules can be preserved in this manner.

Comments are closed.