URL Help


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:
rather than:

How do I do this?

Thanks in Advance

put these into .htaccess :slight_smile:

 RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html [L,NC]
1 Like

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.