Is trailing slash automagically added on click of home page URL in browser?
Posted
by
Question Overflow
on Pro Webmasters
See other posts from Pro Webmasters
or by Question Overflow
Published on 2012-10-14T05:50:48Z
Indexed on
2012/10/14
9:52 UTC
Read the original article
Hit count: 835
I am asking this because whenever I mouseover a link to a home page (e.g. http://www.example.com), I notice that a trailing slash is always added (as observed on the status bar of the browser) whether the home page link contains a href attribute that ends with a slash or not. But whenever I am on the home page, the URL on display will not have a trailing slash.
I tried entering a slash to the URL in the URL bar. And with Firebug enabled, I notice that the site always return a 200 OK status. An article here discussing this states that having a slash at the end will avoid a 301 redirection. But I am not seeing any redirection, even on this page.
Could this be a browser feature that is appending the slash?
© Pro Webmasters or respective owner