On 14 Sep, 2012
By
IT Support Newcastle With
Comments Off on Rack rewrite remove urls trailing slash
If you’re after a solution to remove trailing slashes in URLs using Rack rewrite, read on…. Rack rewrite remove URLs trailing slash so Google and other Search Engine don’t consider www.domain.com/page and www.domain.com/page/ as being 2 different pages with duplicate…
On 14 Sep, 2012
By
IT Support Newcastle With
Comments Off on 301 redirect all non-www to www using rack rewrite
It took me quite a while to find a way to 301 redirect all my non-www urls to www urls. So I decided to create another quick reminder in case I need this code again in the future… But firstly,…