Hello Stackers, strong> p>
我目前有 我的HTACCESS文件出现问题。 它需要重写一个Url,但它仍然需要一个变量来传递。 p>
使用的链接是 有没有办法做到这一点? 此外,我还会得到
RewriteRule ^ ref /(.*)$/quickregister/start.php ?ref = $ 1
code> pre>
example.com/ref/value code>但是,在重写之后,没有可识别的变量, 但是我需要REF变量的值。 p>
if(isset($ _ GET ['ref'])){ code> working。 p>
div>
Hello Stackers,
I Currently have a Problem with my HTACCESS file. It needs to rewrite a Url, which it does, but I still need a Variable to pass through.
RewriteRule ^ref/(.*)$ /quickregister/start.php?ref=$1
The Link used is example.com/ref/value
however, after the rewrite, no variables are recognizable, but I need the value of the REF variable.
Is there A way to do this? Also, I would preffer to still get if(isset($_GET['ref'])){
working.