Hi,
I was wondering how I could make it so that I can setup an HTML file to be accessable by going to a domain like this:
domain.com/example
rather than:
domain.com/example.html
How do I do this?
Thanks in Advance
-7idge
Hi,
I was wondering how I could make it so that I can setup an HTML file to be accessable by going to a domain like this:
domain.com/example
rather than:
domain.com/example.html
How do I do this?
Thanks in Advance
-7idge
put these into .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html [L,NC]
You can choose the method from this article:
Options -MultiViews
In .htaccess file should do just fine.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.