Forum Moderators: phranque
/?postTabs=0
/?postTabs=1
/?postTabs=2
I would like these to look like this:
/slideshow
/gallery
/map
Is there any way to do this with mod-rewrite and the htaccess file? I'd really appreciate some help with this.
Having defined your 'pretty URLs' by linking to them, use internal rewrites in .htaccess to 'connect' those URLs, when requested from your server, to the 'ugly' internal filepaths needed by WordPress.
You might want to look into the various 'SEF' plug-ins available for WP instead of modifying the script yourself; The advantage is that you won't have to re-modify the script every time a new WP security update is installed, and will therefore be less likely to join the legions of hacked un-updated-WP sites. Be forewarned however, that the mod_rewrite code supplied with WP is (or has been) terribly inefficient; It will likely need some tweaking to achieve good performance, so you might want to assess that (and post back here if necessary) if you go that route.
Jim