Posts Tagged "rack rewrite"

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…

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,…


IT Support Newcastle is brought to you by Transcendit Ltd, contact us on 0191 482 0444