KissNode Posted December 18, 2013 Share Posted December 18, 2013 Is there any way to disable http://kissnode.com/clientarea/cart.php , but still have links like http://kissnode.com/clientarea/cart....onfproduct&i=0 enabled? Tried to create a redirect, but that would obviously also redirect links such as http://kissnode.com/clientarea/cart....onfproduct&i=0 . I just don’t want cart.php, I already have an order page set up. Any recommendations? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 18, 2013 Share Posted December 18, 2013 what might work is using htaccess and checking if there is no query string.. RewriteEngine OnRewriteCond %{REQUEST_URI} ^/cart\.php$ RewriteCond %{QUERY_STRING} ^$ RewriteRule ^(.*)$ http://www.kissnode.com [R=302,L] so cart.php gets redirected to kissnode.com, cart.php?a=confproduct&i=0 should pass unredirected... but test it thoroughly! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.