Forum Moderators: phranque
Right now I am doing it by using:
RewriteEngine on
RewriteRule ^foo$ foo.php [T=application/x-httpd-php]
RewriteRule ^bar$ bar.php [T=application/x-httpd-php]
In the .htaccess file, and just doing a new line for each page. This seems fairly inelegant, as well as adding a fair bit of server load and making me have to edit the .htaccess anytime I add a page. I suspect there is a much easier, more elegant way to do this, but I know absolutely nothing about these things. Any help would be most appreciated.
Thanks!
[edited by: encyclo at 11:07 am (utc) on Nov. 7, 2007]
[edit reason] switched to example.com [/edit]