What is breadcrumbs in Cs-Cart Youtube

Posted March 06, 2007 - 11:06 PM # 13

In my opinion, you are absolutely correct ... but opinions vary, and there is no 'right' answer. This is just how I understand things, not gospel:

It's typically required to include the http: // ... I think that was skipped in the initial post simply because the question was basically "how do I get rid of the index.html".

The reason it's a poor idea to include index.html is simply because most people will not include it when linking to your homepage, and the search engines view http://www.yoursite.com/ and http: //www.yoursite. com / index.html as different pages. They are the same page, but links to one will not count as link popularity to the other, and in turn you are splitting your potential link popularity for your homepage. Mostly though, it's best practice to be consistent throughout your site when you link home whichever convention you choose.

The reason it's a good idea to add the trailing / is that it can gain you a tiny amount of speed. The trailing / tells the browser that this is a directory level, and the browser looks for the default file in that directory ... otherwise, the browser first looks for a file by that name, and then the default file. That's not such a big deal on a homepage, but it's best practice ... if you have subdirectories, subdomains etc. each w / default files it becomes more important.