This question has been answered by sottwell. See the first response.
RewriteRule ^path/(.*)$ resources/path.html?variable=$1 [L]
[ed. note: thapriest86 last edited this post 13 years, 7 months ago.]
<a href="[[~12]]">Some Page</a>
I thought you were adding your own $_GET params to the URL. Why do you want to get the ones MODX passes when FURLs are off (and why do you want FURLs off)? I can't think if anything that would get you that
$qs = $class->getCurrentQueryString($_SERVER['QUERY_STRING']);
$query_string = "index.php?".$qs;
//The Function
function getCurrentQueryString($qs){
$queryString = strip_tags($queryString);
$queryString = strtolower($qs);
return $queryString;
}
//wich returns on print :
q=mydocument.html&variable=myvariable&variable2=0&myvariable3=0&myvariable4=0
RewriteRule ^mydocument/(.*)$ resources/mydocument.html?variable=$1 [L]

# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^path/(.*)$ path.html?variable=$1 [L]
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Array ( [q] => path.html [variable] => )
q=index.php&q=path.html&variable=myvariable.html