I've read this:

Wordpress redirection to get url friendly

That led me to this:

1) wp.tutsplus.com/tutorials/creative-coding/the-rewrite-api-the-basics/

2) wp.tutsplus.com/tutorials/creative-coding/the-rewrite-api-post-types-taxonomies/

and per the end of #1, I installed this:


With the plugin I can see and test the rule I added via add_rewrite_rule. However, when I try the same URL request on the front end site I get a 404. I'm struggling to sort out why the rule isn't being applied.

p.s. Sorry about the links not being links but my rep from StackOverFlow doesn't seem to carry over to wp.SE

  • 1
    Have you visited the Settings->Permalinks page? Commented Jul 25, 2012 at 4:22

1 Answer 1


Have you tried third parameter as "top" into add_rewrite_rule ? Something like this:

add_rewrite_rule($regex, $redirect, 'top');

And also re-save permalink settings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.