SaveSheep
01-15-2007, 07:47 AM
i have a bunch of .html files on a site, and i'd like to change it so that i can type in site.com/index and it'll know to look up index.html
RewriteEngine On
RewriteBase /
RewriteRule ^([a-zA-Z0-9])$ $1.html
I tried this, but it still doesn't work. Isn't there a way to make it default to index.html if no variable is called upon?
thanks!
RewriteEngine On
RewriteBase /
RewriteRule ^([a-zA-Z0-9])$ $1.html
I tried this, but it still doesn't work. Isn't there a way to make it default to index.html if no variable is called upon?
thanks!