How do I save a page in Dreamweaver so my visitor doesn’t have to type .html at the end of my webpage address? For example the page is saved as: www.domain.com/product.html, but I want my site visitors to just need to type www.domain/product.
It would seem the simplest way would be to rename products.html to index.html and put it in a subdirectory named /products. Then change the links on your other pages to reflect the new location.
There's probably a way to do it with .htaccess, but I'm still learning.
As stated, setting up your .htaccess to deliver to the browser the URL you wish for a link is one way. Another is to put the file in its own folder (products) and rename it to index.html. Some browsers will still show the complete URL though.
Bookmarks