Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing var on link urls
#4
You’re right, this seems like a mod_rewrite problem. I used the following code in my template to test this:
Code:
<?php
    print '<p>This is an <code>echo</code> of <var>$_GET[\'url\']</var>: ';
    echo $_GET['url'];
    print '</p>';
?>

On the main page, without any slug in your URL, it’ll work:
[Image: 2qLT]

As soon as it needs to use mod_rewrite (when there is a slug) it will lose all the information:
[Image: 2qMU]

Just some quick looks with Google doesn’t give me a good idea of how to fix this. Anyone an idea how to keep the original query string accessible after using mod_rewrite?
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
Passing var on link urls - by adrian - 2010-02-14, 16:16:26
Passing var on link urls - by adrian - 2010-02-15, 23:35:58
Passing var on link urls - by ccagle8 - 2010-02-15, 23:49:08
Passing var on link urls - by Zegnåt - 2010-02-16, 01:28:40
Passing var on link urls - by internet54 - 2010-02-16, 06:16:44
Passing var on link urls - by ccagle8 - 2010-02-16, 09:53:35
Passing var on link urls - by Zegnåt - 2010-02-16, 17:01:56
Passing var on link urls - by ccagle8 - 2010-02-16, 21:13:07
Passing var on link urls - by adrian - 2010-02-17, 15:16:49
Passing var on link urls - by Zegnåt - 2010-02-18, 02:14:32
Passing var on link urls - by internet54 - 2010-02-18, 02:33:49
Passing var on link urls - by Zegnåt - 2010-02-18, 05:35:24
Passing var on link urls - by internet54 - 2010-02-18, 05:39:45



Users browsing this thread: 1 Guest(s)