Robert4049 Posted February 4, 2021 Share Posted February 4, 2021 How could I go about redirecting index.php?rp=/store/web-hosting to somewhere else? The product group ID I'm attempting to apply this is 2 but this winds up applying to all store URLs. <?php add_hook("ClientAreaPage",1,function($vars){ if ($vars['filename']=="index" && !isset($_REQUEST['2'])){ header("Location: ../"); exit; } }); 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.