Forums / General Questions / Redirecting old .asp links to new zen cart links using redirect permanent....

Redirecting old .asp links to new zen cart links using redirect permanent....

Locked

Views: 4,045

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 Sep 2007, 9:45 PM
#1
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Redirecting old .asp links to new zen cart links using redirect permanent....

Hi~

Ok, I'm moving a girl from an old server and dynamic store, basically, I need to do something like this (from the .htaccess I'm trying to use):

Redirect PERMANENT /store/WScontact.asp  http://www.site.com/index.php?main_page=contact_us
Redirect PERMANENT /store/WSaboutus.asp  http://www.site.com/index.php?main_page=about_us
Redirect PERMANENT /store/WsDefault.asp?Cat=TeethingBeads  http://www.site.com/index.php?main_page=index&cPath=2
Redirect PERMANENT /store/WsDefault.asp?Cat=NursingNecklaces  http://www.site.com/index.php?main_page=index&cPath=1

The first two work, and the last two don't. I've searched the forum, and have realized that with the ? in the url, it won't work well, so, can someone help me figure out another way to do this? I've read about php redirects, but I have no clue how to go about them!

Thanks!