Hi,
I want to rewrite the below url using htaccess file.
http://www.sitename.com/gallery.php
to
http://www.sitename.com/gallery.html
How to do this?
htaccess rewrite rule
Moderator: General Moderators
Re: htaccess rewrite rule
Code: Select all
AddType application/x-httpd-php .html- markusn00b
- Forum Contributor
- Posts: 298
- Joined: Sat Oct 20, 2007 2:16 pm
- Location: York, England
Re: htaccess rewrite rule
Or, to answer the htaccess question:
Code: Select all
RewriteRule ^gallery.html$ gallery.php