Adding custom rewrite rule to my blog
-
Hi
I am wanting to add a custom rewrite rule that forces any URL like:
mysite.com/card/card-one/
mysite.com/card/card-two/
mysite.com/card/another-card/To rewrite (not redirect) to a specific wordpress post (post ID 255) and pass the “card-one”, “card-two” as a query string, so it can be accessed within the wordpress post (using Exec-PHP plugin).
How can I add such a custom rewrite rule, and how would I write such a rule?
btw these /card/ urls do not conflict with any of my blog’s normal url structure.
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Adding custom rewrite rule to my blog’ is closed to new replies.