My URL: lave0134.site44.com/dsn1568/exercise-css.html
I would like to remove the ".html" at the end but I dont't know how to do it.
I've deleted the ".html" in the document name in my files but it still appears in my URL.
Every web page you create in DW will need to have a .html, .htm, .shtml, .shtm or .php file extension. This tells browsers & your server that it is a web page.
CSS is not an HTML document.
If you want exercise to be the url, you must create an index.html page and put it inside a folder named exercise.
In the DW Files Panel (F8), your local site would look something like this:
SITENAME (C:\your_site_folder)
+exercise
index.html
+about
index.html
+contact
index.html
index.html (your site's home page)
Personally, I don't see any value in doing this. It just makes your site more complicated with all those extra index pages.
Nancy O.
The way sites do this is through a server-side configuration to "re-write" the actual URL. You actually don't change the file extension on the actual file but you tell the server to "mask" or hide it. But this is an advanced topic and I'd suggest doing a lot of research before ever trying to make such server configuration changes.
North America
Europe, Middle East and Africa
Asia Pacific