I'm redoing my .htaccess file, and I have been scouring the how-to's on how to remove .html and .php from my site would RewriteRule ^(.*) /.php suffice? I'm confused.
>>1
I'am confused by you're first "phrases" grammar. Your not supposed two stick to different phrase's like that.
Name:
Anonymous2010-03-21 11:46
No, it would recurse indefinitely. Put all pages as subfolders with index.html or index.php in them, or put everything in a html_pages folder or similar and redirect everything (except that folder) into that folder (and add the appropriate suffix).
Or rewrite in the same manner to a global urlhandler.php, with the added bonus of being able to give it any input in the URL without it looking like total shit.