Redirect underscores to dashes…
-
Hi there,
I was wondering if it’s possible to use the Redirection plugin to do this sort of thing :
ORIGINAL URL
https://www.example.com/news/detail/test_post_may_have_numbers_123DESIRED URL
https://www.example.com/news/detail/test-post-may-have-numbers-123Unfortunately the post titles can have multiple words in so don’t really want to have to use the standard htaccess trick that you find all over the internet where you have to create a longer and longer regex each time to capture all the words in the title.
Not sure if this is possible though or is there an easier way to get at what I’m after?
Many thanks,
Mark
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Redirect underscores to dashes…’ is closed to new replies.