Slash / at end of string or not?
-
I was using
/example.com/string/ to redirect to
/example.com/pony/ but if the slash at the end of the source url is missing then it redirects to a 404 page.ie: /example.com/string goes to 404 page.
So.. I ticked the regex and used the following string..
/example.com/string* and that works for both!!1 yay!
But my question is.. does using the regex like this slow down the site? I have hundreds of redirects like this….?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Slash / at end of string or not?’ is closed to new replies.