SNIPPET: REWRITE PHP EXTENSION TO HTML

Snippet: Rewrite PHP extension to HTML 
Compatibility
All Versions
Rating
  • Currently 4.50/5

Rating: 4.5/5
(2 votes cast)

Login to Rate

Add to your .htaccess file...
Options +FollowSymlinks
RewriteEngine on
RewriteRule news.html news.php [nc]
RewriteRule sitemap.html sitemap.php [nc]
RewriteRule links.html links.php [nc]
RewriteRule faq.html faq.php [nc]


ID: 84 | CAT: 16
No comments yet... why not be the first?

Comment / Reply



Emails will not be published or shared. If you have a Gravatar account - the avatar image associated with your email address will appear. Please note, all comments are moderated, so be nice.



Like this comments mod? Get it here

Lalit from India

Saturday, October 2, 2010
Thanks for the wonderful snippet. But I was expecting something else. My php file is displayed alone without using the feel and look of the site. I want to embed my php file into the site feel and look. Any snippet for doing this?
Please login to leave a comment/review
Name: *
Email: *
Telephone:  
Question(s): *
Code:  
Enter Code: *
    Submit
Your name
Your email
Recipient's email
  Send to friend
 X 

You added a product to the cart!

View cart

Checkout

Back to products

Close

PayPal Accepted