.htaccess and replacing special characters
-
This is a tricky one I think. I was forced to switch between two different tag plugins because one is no longer maintained.
The old plugin used ‘+’ in place of spaces in tags (so foo bar would be foo+bar). The new plugin uses ‘_’ (making it foo_bar). Because I’m sticking with the new plugin I think my best option is to redirect the old tag links to the new one.
I’m figuring that I need a Rewrite rule in my .htaccess file that pushes ‘myurl.com/tag/foo+bar’ to ‘myurl.com/tag/foo_bar’ … anyone have any suggestions how to do this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘.htaccess and replacing special characters’ is closed to new replies.