G
G
geraro2016-05-06 18:37:45
htaccess
geraro, 2016-05-06 18:37:45

How to redirect to the required page from the WHMCS cart?

It is necessary to redirect immediately after placing the goods in the basket.
Tried Redirect 301 /cart.php?a=add&pid=1 /custom-pageand

RewriteEngine On
RewriteRule ^/custom-page([/]*)$ ./cart.php?a=add&pid=1 [L,NC]
However, the redirect did not happen.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2016-05-11
@shambler81

I won't answer even already I'm tired.
But I'll give you how to ask the right question
1. a redirect from a get is not part of the url
2. a redirect to a get is harder to find, so I'll help
Pay attention to the screen before ?
well, a bonus
https://donatstudios.com/RewriteRule_Generator

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question