Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-17-2007, 09:05 PM   PM User | #1
minx
New to the CF scene

 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
minx is an unknown quantity at this point
Question Dynamic url redirects with asp vbscript

Hi all,

I am trying to redirect 900 current dynamic shopping cart urls like
www.example.com/prodtype.asp?PT_ID=93&strPageHistory=cat
to new seo friendly 404.asp page created ones like
www.example.com/hair-care/12-3

The cart uses a 404.asp page and prodtype.asp page for construction of urls and i need a statement to redirect all old dynamic urls or a big case statement to re-direct at least the 20 most important high ranking pages.

Tried a couple of things but no succes yet, please help if yuou have any ideas.
Thanks
Andy
minx is offline   Reply With Quote
Old 02-18-2007, 07:05 PM   PM User | #2
graficus
New Coder

 
Join Date: Aug 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
graficus is an unknown quantity at this point
isapi_rewrite comes to mind, if your hosting has it.
are the static pages already created?
is this the site you are talking about?
__________________
I know that I know nothing
graficus is offline   Reply With Quote
Old 02-19-2007, 06:55 PM   PM User | #3
minx
New to the CF scene

 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
minx is an unknown quantity at this point
Smile

Hi,
The conversion has not been done live as of yet as i wish to get all required info first so i can implement changes all at once. I have a testing website to ensure any mods i complete are ok before i use them on my live store.

I take it you googled the site.
Cheers
Andy
minx is offline   Reply With Quote
Old 02-19-2007, 07:44 PM   PM User | #4
graficus
New Coder

 
Join Date: Aug 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
graficus is an unknown quantity at this point
I think there are more complications to this than there are benefits.
Search engines pick up dynamic urls with no problem these days.
Gorgeously done site, by the way.
__________________
I know that I know nothing
graficus is offline   Reply With Quote
Old 02-19-2007, 07:52 PM   PM User | #5
graficus
New Coder

 
Join Date: Aug 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
graficus is an unknown quantity at this point
PS: may I ask what shopping cart you are using? I've tried several but still can't find that perfect one.
__________________
I know that I know nothing
graficus is offline   Reply With Quote
Old 02-20-2007, 12:06 PM   PM User | #6
minx
New to the CF scene

 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
minx is an unknown quantity at this point
Smile

The cart is a modified version 5 cactushop, i personally like the setup and backend, but it did need a bit of work to improve seo side.

They do now have a new version 6 pro which has some nice new features...

Cheers
Andy
minx is offline   Reply With Quote
Old 02-21-2007, 01:43 PM   PM User | #7
degsy
Senior Coder

 
Join Date: Nov 2002
Location: North-East, UK
Posts: 1,265
Thanks: 0
Thanked 0 Times in 0 Posts
degsy is on a distinguished road
I too would recommend ISAPI rewrite.

Error pages are there for a reason. They should not be used for SEO redirection.


You need to install the rewrite component then add the rules that you want.

You then need to edit your scripts so outputted URLs would be in the SEO format instead of the original querystring format.
degsy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:57 PM.


Advertisement
Log in to turn off these ads.