Reputation: 33
How to archive the URL rewrite from example.com/?special=25
to example.com/special/25
.
Upvotes: 0
Views: 161
Reputation: 1409
Check out the WordPress WP Rewrite class. The examples towards the bottom look like they'd get what you are trying to achieve. Sadly not used this before so can't provide an example.
Upvotes: 1
Reputation: 15980
Without any more context to the question, it's a little difficult to say; however, based on the URL scheme that you've provided, 'special' appears to be a category, custom post type, or some other taxonomy.
If that's the case, then you can use a custom permalink setting set to: /%postname%/
and that would take care of it.
Upvotes: 0