开发者

htaccess redirect in limesurvey one survey to another

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?

Thank开发者_如何学Gos,

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜