I commented out the RewriteRule in my .htaccess file and created a new WP_Rewrite rule in my WP theme’s functions.php file. This effectively accomplishes the same thing, but ensures that WordPress is aware of the ‘extra’ querystring variables (so they’re not lost or ignored).
Daily Archives: November 11, 2011
Htaccess, Apache, And Rewrites!
As a web designer or developer, it is important to know how to use the htaccess file to your advantage. It is a very powerful tool, and can even work as a deterrent for bandwidth thieves, exploits, and hackers. Below are some common examples of rules to consider when developing websites. We hope you find …