Add slash to the base url

Prateek Dayal lists at ruby-forum.com
Wed Mar 31 17:52:22 MSD 2010


> 
> Yes, "http://localhost" and "http://localhost/" are identical from
> HTTP point of view.  It's up to your browser to show it one or
> another way.

Thanks for the reply. I understand what you are saying but from a search 
engine point of view, they are two different urls. In fact I am making 
this change after reading this in the google reportcard - 
http://googlewebmastercentral.blogspot.com/2010/03/googles-seo-report-card.html

So assuming that I want http://localhost to 301 redirect to 
http://localhost/, how do I go about doing it?

Thanks
Prateek
-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list