Mod_Rewrite Woes…
-
Ok, I’m basically trying to make the site so that faq.html points to the a WordPress faq page.
RewriteRule ^faq.html$ /faq [L]
It’s a simple rewrite, I’ve done thousands of them. The problem is, WordPress doesn’t like it. It returns a 404 every time. It doesn’t matter where in the .htaccess I put the code. The only way to get it to work is to make it 301 or 302
RewriteRule ^faq.html$ /faq [R=301,L]
The problem with this, is I don’t want the end user to know he’s not looking at faq.html
- The topic ‘Mod_Rewrite Woes…’ is closed to new replies.