The server would always 301 redirect http://domainname.com
so you should always add the trailing slash
after the domain name.
Since index.html is usually a default index page (depending on server
settings) you should avoid using it in links to the homepage of the
site or to the homepage of a folder.
http://domainname.com/folder will also get 301 redirected to
http://domainname.com/folder/ so always use the trailing slash.
Hence link to http://domainname.com/ for homepage; links to
http://domainname.com/folder/ for the homepage of the folder.
Some sites use extensionless urls, which require url rewriting, so
that http://domainname.com/page does not automatically get redirected
to http://domainname.com/page/ (because /page is not a folder and
that is recognized by the server). You need to be careful with the url
rewriting settings because otherwise the server might serve the same
content on both http://domainname.com/page and http://domainname.com/page/
(possibly with broken layout, which doesn't count as far as robots are
concerned), thus creating duplication.
I don't advise using extensionless urls unless and until you are able
to control precisely the server response with proper settings. This is
Regardless of what method you use, you need to ensure a page of
content is only available at one url, and any other (such as any
ending in /index.html) gets 301 redirected to the root (of the site or
of the current folder).
On Nov 12, 9:03 am, Bob <h...@internethostcafe.com> wrote: