PrestaShop Documentation, PrestaShop Tutorials

PrestaShop 404,500,301,302 error page automatic redirection using htaccess file.

PrestaShop 404,500,301,302 error page automatic redirection using htaccess file.

Add the following in your website htaccess file for automatic redirection.

# This allows you to redirect your entire website to any other domain
Redirect 400 https://addons.prestashop.com/en/2_community-developer?contributor=301729
Redirect 401 https://addons.prestashop.com/en/2_community-developer?contributor=301729
Redirect 403 https://addons.prestashop.com/en/2_community-developer?contributor=301729
Redirect 404 https://addons.prestashop.com/en/2_community-developer?contributor=301729
Redirect 500 https://addons.prestashop.com/en/2_community-developer?contributor=301729
Redirect 503 https://addons.prestashop.com/en/2_community-developer?contributor=301729

ErrorDocument 400 https://addons.prestashop.com/en/2_community-developer?contributor=301729
ErrorDocument 401 https://addons.prestashop.com/en/2_community-developer?contributor=301729
ErrorDocument 403 https://addons.prestashop.com/en/2_community-developer?contributor=301729
ErrorDocument 404 https://addons.prestashop.com/en/2_community-developer?contributor=301729
ErrorDocument 500 https://addons.prestashop.com/en/2_community-developer?contributor=301729
ErrorDocument 503 https://addons.prestashop.com/en/2_community-developer?contributor=301729

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI} ^/404/$
RewriteRule ^(.*)$ https://addons.prestashop.com/en/2_community-developer?contributor=301729 [L]

RewriteCond %{REQUEST_URI} ^/500/$
RewriteRule ^(.*)$ https://addons.prestashop.com/en/2_community-developer?contributor=301729 [L]

About zohaibk

We develop useful addons for #E-Commerce and #CRM software to provide extra features.#PrestaShop,#Magento,#SugarCRM,#Vtiger & #Android #apps
View all posts by zohaibk →