htaccess在limesurvey中重定向一项调查到另一项调查

i would like to redirect my.subdomain.eu/index.php?sid=34588&lang=de to my.subdomain.eu/index.php?sid=12345&lang=de.

i tried:

RewriteEngine on
Redirect 301 http://my.subdomain.eu/index.php?sid=34588&lang=de http://my.subdomain.eu/index.php?sid=12345&lang=de

but it did not work. Any ideas what i did wrong?

Thanks,

Nils

I think you just need to not include your domain in the first part :

RewriteEngine on
Redirect 301 /index.php?sid=34588&lang=de http://my.subdomain.eu/index.php?sid=12345&lang=de

But then, depending on your architecture, you might need to set a condition to match your subdomain with RewriteCond and a RewriteRule