/index.html is a root relative link.
Have you tried a Find & Replace for document relative links? i.e. index.html without the leading /
Thanks for your reply John. I am not sure what you mean here. The only index.html file that I am concerned with at the moment is the one at the root level. I am not looking to direct every link to any index.html file to the root directory.
Let's start again.
When you click on the root level index.html file and press Delete, can you give an example of the files which are linked to that file?
When I check your website, all the Home page links point to "/" which suggests that there are few /index.html references in your code.
Thanks again John. DW indicates that there are 185 files linking to index.html when I attempt to delete it through the Files Window. Here is the display:
However, each of these 6 files link to / and not /index.html and I can not figure out how to pull up a list of the rest of the files beyond what this alert message shows.
When I attempt to delete index.htm through the DW Files Window, I am alerted about just one file linking to it.
Perhaps DW is programmed to consider /index.html as the default for any link to / but on my host, the default page seems to be default.htm which is why I want to get rid of index.html and index.htm to avoid any duplicate content or canonicalization issues.
But before I delete index.html, I want to be sure that I am not creating a bunch of broken links when I do so.
And, when I try to run the following "Change Link Sitewide" command...:
...I am prompted that no such links exist:
Thanks again for your looking into this with me. If nothing else, I will just go ahead and delete both index.html and index.htm and then do a check for broken internal links.
Heres a wild idea - use at your own risk, do make a backup of your whole site before you try this - and do a "recreate site cache" just for good measures..
Now, make a copy of your default.html.. lets call it bak_default.html. Then delete default.html. DW will complain, ignore it. Now rename your index.html to default.html within the files pane of DW. It will ask you if you want to update all existing links as well. Say yes. Then delete default.html again and restore the bak_default.html to default.html.
It should work, but still: good luck and dont forget the backup before you try this..