apache - mod_rewrite rule is ignored with Wordpress -


i trying use mod_rewrite redirect requests directory specific page:

rewriteengine on  # turn on rewriting rewriterule /about/(.*) /wp-content/themes/twentyfiteen/test.php 

from here plan requested uri , serve appropriate page.

but seems rule not triggered.

thanks

uri's sent through rewrite rules in htaccess file have leading slash removed, can't match /about/, need remove leading slash:

rewriteengine on rewriterle ^about/(.*)$ /wp-content/themes/twentyfiteen/test.php [l] 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -