Bug causing double “//” in URLs
-
Hi there,
I use WPML to translate my website
website.com/en/ for English, /fr/ for French etc.For some reason, since doing so, pretty links gets the root folders wrong
instead of website.com/en/pretty-link the links are now website.com/en//pretty-linkThe double “//” seems to come from an updated setting in WPML (which can’t be changed). Pretty-links is missing a feature to simply adjust the root URL if parsed wrong. Or a line of code to actually make sure a double “//” isn’t occurring.
It’s nerve-wracking since all my current links now broke ^^
Would be great if someone could look into it and maybe just fix it with a line of code or two. It’s a simple but easy to reproduce issue.
Thanks,Hampton
The topic ‘Bug causing double “//” in URLs’ is closed to new replies.