Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to get safe variables and clean urls using wp_rewrite.

Example:

/%category%/%postname%/?action=play

to

/%category%/%postname%/play/

Still can't find solution. Everytime get 404 error. Please help me

share|improve this question

closed as too localized by toscho Jan 3 at 23:24

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

do you re-save your permalinks every time you make a change to wp_rewrite? otherwise you will get 404.

additionally, you should post what you've tried.

try this tutorial:

http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/

share|improve this answer
Hi. I solve it using this solution - matty.co.za/2009/11/custom-url-rewrites-in-wordpress Thats exactly what I need! – user14056 Mar 12 '12 at 19:56
great. you should post your code as an answer in case other people are looking for the same thing. – helgatheviking Mar 12 '12 at 21:35
I still have troubles (( Now pagination didn't work - 404. Still looking for correct way to solve it. – user14056 Mar 14 '12 at 11:26

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