You have to keep in mind that this will have you ended up with a static link, when linking ‘Internal’ to specific pages the links are dynamic, which means that even when you move pages around and relocate them in other folders or subfolders, the link will remain intact. That doesn’t work for static links.
There is, however, a better and more reliable way to make the links appear line ‘foldername/’ in stead of ‘foldername/index.html’. There are 2 actions available that ‘clean’ up your links to index.html files within folders/directories :
Just apply the action to the site folder at your Site Pallet and you’re golden. There are options on both actions you can fiddle with, just make sure the action is only applied ‘on upload’ to remain functionality on local testing when NOT via a webserver.
You should paste that inside the .htaccess file at the websites root on your server. You will have to unhide hidden files with your FTP client to see it. If it does not exist, create it.