Problem
GHengeveld |
|
---|---|
In urltrans.dat:
plug e=contactus contact In .htaccess: RewriteRule ^contact$ plug.php?e=contactus [NC,NE,QSA,L] You see, the rightmost column in urltrans.dat is what you put first in the rewriterule. The first two columns are combined and form the second part of your rewriterule. One more note (not related to the above): If you want to match a parameter in urltrans by using a * (for example e=someplug&var=*) but you don't want the value for 'var' to be in the output url, you have to put {!$var} instead of {$var}. |