Quick ISAPI rewrite question.
-
This is actually a question I posted on the helicon forum, but I was wondering if anyone could answer it here? It involves a couple of rules for ISAPI rewrite.
Heres the rules:
This one just sticks index.php in front of ALL my urls:
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
and the next one is an attempt to fix the above one, where the url starts with ‘wp-content/’, this is because the wp-content folder contains CSS/images and they are being broken by the first rule.
RewriteRule ^wp-content/(.*)$ /wp-content/$1
This rule doesn’t work, so to summarize, what I need to do is this:
stick index.php in front of all urls EXCEPT where they start ‘wp-content’.
Any ideas?
Many thanks
- The topic ‘Quick ISAPI rewrite question.’ is closed to new replies.