PDA

View Full Version : htaccess redirect 301


vineet
06-12-2009, 07:50 AM
hi all

i have old url

http://www.domain.com/gift-36-1-Blackberry-Phones.html


i am redirecting it to new url

http://www.domain.com/gift-37-1-Blackberry-Phones.html


through the code in htaccess

Redirect 301 /gift-36-1-Blackberry-Phones.html http://www.domain.com/gift-37-1-Blackberry-Phones.html


its redirecting to this page fine but the url i see in the browser on redirecting is


http://www.domain.com/gift-37-1-Blackberry-Phones.html?dealer_id=36&category_id=1&page=Blackberry-Phones


why is the dealer_id and category_id showing in the address bar of browser. How can i remove them on redirecting.
Is it because of the mod rewrite or is it the way 301 redirect works.

vineet

schleppel
06-17-2009, 12:30 AM
Do you have some mod_rewrite as well? If you do, post it.