Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to remove HTML tag requirement when entering www address


This is my first post, Forgive me if I breach any posting requirements


I am wondering how to remove the HTML at the end of my page details. If I enter the domain and page name it does't find it unless I add the .html at the end. 


Please let me know how I can do this. 

Super User III

That can be achieved with custom scripting for the server configuration.  That is a more advanced topic so I'll provide a search to get you started.

remove .html from url

Hello! I am trying to remove the .html url extension though the .htacess file but I have had no luck. I've searched and tried a variety of different solutions but haven't found anything that will resolve this issue. My current .htacess file is as follows:


Options -Multiviews

RewriteEngine On
RewriteRule ^/?$ /1 [L]

RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule !.*\.html$ %{REQUEST_FILENAME}.html

but .html keeps appearing in the url. If i remove .html, I get taken to the 404 page.


Please let me know if there is any more information I have to provide in order to figure out why this isn't doing the trick.


Thank you!