301 Redirects With X-Cart Clean URLs

301 Redirects With X-Cart Clean URLs

How to redirect an old URL to a new URL (for when using the X-Cart Clean URLs module) ...

Share

How to redirect an old URL to a new URL (for when using the X-Cart Clean URLs module) ...

In .htaccess before...

RewriteCond %{ENV:REDIRECT_STATUS} !^401$

For each URL, insert...

RewriteRule ^old_url.html$ http://www.store.com/new_url.html [R=301,L]

Or at the end of .htaccess insert...

RewriteRule 301 /old_url.html http://www.store.com/new_url.html
: *
: *
: *
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...