RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Avoid duplicate content in your Rails app

If you can access pages of your site like this mysite.com/products/ or mysite.com/products, then you have duplicate content and Google does not like that.

Hopefully I wrote a Rack app called Rack::Slashless to solve this problem. It’s super simple, install the gem, add it as a middleware and that’s it!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in