In addition to the previous suggestion of using directories to accomplish this task, you can also use a rewrite rule to accomplish the same, something like this:
RewriteEngine On
RewriteRule ^(.+)([htm(l)?]|
PHP:
) $1 [L]
This rule would work for Apache's mod_rewrite and most Microsoft IIS implementations of URL rewriting that supports regular expressions.
In addition to the previous suggestion of using directories to accomplish this task, you can also use a rewrite rule to accomplish the same, something like this:
RewriteEngine On
RewriteRule ^(.+)([htm(l)?]|
PHP:
) $1 [L]
This rule would work for Apache's mod_rewrite and most Microsoft IIS implementations of URL rewriting that supports regular expressions.
make a new folder called page in your directory, then rename page.html in the page folder to index.html, by default when you navigate to site.com/page/ , the index page is shown.