Hello,
I’m using MODx Evo 1.0.4 with friendly urls (and friendly alias path). In another Evo (0.9.6) site I had redirected old pages to new ones like this (but without friendly alias path):
RedirectPermanent /webdesign/modx-cms.php http://www.7media.de/modx-cms-vorteile.php
In the new site this does not work:
RedirectPermanent /pages/kontakt.html http://www.vrds.de/kontakt.php
results in url
http://www.vrds.de/kontakt.php?q=pages/kontakt.html
The friendly urls part and some other is below:
// preview version under /modx to root /
RewriteRule ^(.*)modx([^0-9]*)$ /$1$2 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://www.vrds.de/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]
Maybe one of you has an idea how to get rid of ?q=pages/kontakt.html in the redirected url.
Thanks!