Redirect URLs to www.

Redirect URLs to www.

To avoid duplicate URLs, use this to redirect non-www. URLs to www.

Share

To avoid duplicate URLs, use this to redirect non-www. URLs to www.

Add this code to your root .htaccess file...

RewriteCond %{HTTP_HOST} ^%{HTTP_HOST} [NC] 
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [R=301,L]
: *
: *
: *
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...