FIX FOR 404 ERRORS
-
Use this to fix the 404 error on cart and checkout pages:
You have to add this to the top of your.htaccessfile:# DEBUG: Visible redirect so we can see what's happening
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/whmcs-bridge/cart/?$ [NC]
RewriteCond %{QUERY_STRING} !(^|&)ccce= [NC]
# Use a visible redirect while debugging so you can see Location header
RewriteRule ^whmcs-bridge/cart/?$ /whmcs-bridge/?ccce=cart [R=302,L,QSA]
</IfModule>NB: Change the
whmcs-bridgeto the name of your bridge page.
The topic ‘FIX FOR 404 ERRORS’ is closed to new replies.