Hi everyone, I was researching a bit about SEO and found this article “To slash or to not slash” from Google Webmasters.
Turns out, you can choose any URL format, with a slash (https://www.mysite.com/about/) at the end or not (https://www.mysite.com/about).
However, they recommend using only one form. And use a 301 redirect to the other.
I tried a lot of things that I’m going to list below, but none of them worked.
- https://github.com/ryanoleary/middleman-trailing_slashes
- https://github.com/tkellen/rack-slashenforce
- https://github.com/jtrupiano/rack-rewrite
Has anyone solved this issue or have any idea on how to solve?