Hi,
I'm using the following code in a htaccess file inside a directory:
and when I type in a file name ending with .html it appears to manifest or create a directory name pertaining to the prefix of the file.
Is this how it's meant to work?
Thanks for any help offered.
I'm using the following code in a htaccess file inside a directory:
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
and when I type in a file name ending with .html it appears to manifest or create a directory name pertaining to the prefix of the file.
Is this how it's meant to work?
Thanks for any help offered.