You’re right, this seems like a mod_rewrite problem. I used the following code in my template to test this:
On the main page, without any slug in your URL, it’ll work:
As soon as it needs to use mod_rewrite (when there is a slug) it will lose all the information:
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?
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:
As soon as it needs to use mod_rewrite (when there is a slug) it will lose all the information:
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!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!