...

View Full Version : htaccess 301 redirect with arguments in Url



Jerome
08-20-2005, 04:32 PM
Hi,

I like to redirect some not existing url's using redirect in htaccess, like:

redirect 301 /index.shtml?red http://www.domain.com/?widget=red

expl.
redirect 301 = permanent redirect
/index.shtml?red = is old url part of (http://www.domain.com/index.shtml?red)
http://www.domain.com/?widget=red = new location

But it doesn't work! is it because of arguments not allowed?

Thanks,
Jerome

Jerome
08-22-2005, 11:17 AM
This is not going to work, I am going to use mod rewrite

Thanks,
Jerome



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum