Quote:
Originally Posted by H
Code:
RewriteRule ^([a-zA-Z0-9])/?$ $1.html
|
This is fine if there are no sub directories with an index file for default delivery without any file name specified in them. It would redirect a call for this_directory/subdirectory/ to this_directory/subdirectory.html because of the /? in the pattern.
RewriteRule ^(index)$ $1.html for only an index append of .html or
RewriteRule ^([a-zA-Z0-9])$ $1.html for an append of .html for any filename without an extention.
__________________
Where would you be if you were at the highest court in the land (US)?