Rewrite PHP extension to HTML

Rewrite PHP extension to HTML

Eg. news.php to news.html

Share

Eg. news.php to news.html

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]
: *
: *
: *
Type the characters you see in the picture:
Captcha

*
Change next order ID value

Change next order ID value

If you've just opened a new store, you may not want customers to see low order ID's.

Protect company emails from spambots

Protect company emails from spambots

This will encode your company email addresses...

Detect HTTPS mode in Smarty

Detect HTTPS mode in Smarty

If you get a security alert when in secure mode, it's usually due to offsite elements such as SSL certificate seals, images and javascript that are not secure, in which case you can fix with this code...

More...