Bug: plugin adds trailing slash for GET parameters
-
If we have a paginated page like example.com/page/2/ and have a link that uses a GET parameter, for example: example.com/page/2/?cookie-bar=off then the plugin with “Add trailing slashes” option ON will create a link: example.com/page/2/?cookie-bar=off/
Then on the page example.com/page/2/?cookie-bar=off/ the plugin for the NEXT & PREVIOUS links will generate URLs:
example.com/page/2/?cookie-bar=off//
example.com/?cookie-bar=off//Then the number of slashes on each page will increase. Google will crawl these pages (that’s how I’ve discovered this issue).
An easy and likely best fix would be for the plugin NOT to add trailing slashes (even if the option is ON) if the URL has any GET parameters (so basically a question mark ? in the URL).
I’m hoping you’ll fix this.
The topic ‘Bug: plugin adds trailing slash for GET parameters’ is closed to new replies.