Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

cdseo pro -old url?

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 03-05-2009, 05:22 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default cdseo pro -old url?

Hi ,
I have cdseo pro module(websitecm).
I have the old site url something similiar to this -"default.aspx?T=2459&G=4191&P=4101".
If i add this in the cdseoUrl field in the url history table.
But it didn't redirect me to the expected page instead of it rediret to the home page.Why so.
Have anybody faced this issue.
->how to resolve this.
Please guide me.
Reply With Quote
  #2  
Old 03-05-2009, 05:24 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: cdseo pro -old url?

Why would you want that as your CDSEO url?? The whole point is to avoid lousy urls like that - use a 301 redirect to redirect the url to a nice clean one with keywords in it.

Moving to Third Party Add-Ons
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-05-2009, 06:10 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: cdseo pro -old url?

Sorry for posting in the wrong place.

I don't want this as new url .
But this is how that old site is using the url.
So it is our duty to redirect the customer who tried the old url to the new url(exact page).
To do this i heard that cdseo mod have a option
->typing the old url in the history table and linking it to the current category or product will redirect the customer by itself .We don't need to write the redirect script to do this.
but i don't know how to include the query string(like this -default.aspx?T=2459&G=4191&P=4101) with this)?


Thats is the reason i am asking this


Quote:
Originally Posted by balinor
Why would you want that as your CDSEO url?? The whole point is to avoid lousy urls like that - use a 301 redirect to redirect the url to a nice clean one with keywords in it.

Moving to Third Party Add-Ons
Reply With Quote
  #4  
Old 03-05-2009, 06:14 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: cdseo pro -old url?

You can't use special characters in the CDSEO url field - and I'm not aware of any 'history table' in CDSEO. Where did you read this?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-05-2009, 06:27 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: cdseo pro -old url?

This is the table name i am speaking about -"wcm_cdseo_url_history".

And it is working fine for with our query string.
But how to do it with query string.
If it is not possible to pass the special character then how do i redirect?
I feel afraid.

Quote:
Originally Posted by balinor
You can't use special characters in the CDSEO url field - and I'm not aware of any 'history table' in CDSEO. Where did you read this?
Reply With Quote
  #6  
Old 03-05-2009, 06:29 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: cdseo pro -old url?

You'll need to ask Jon about that. Just put a 301 redirect in your htaccess file, much easier:

Redirect 301 /old-url http://www.yourdomain.com/new-url.html
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 03-13-2009, 04:42 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: cdseo pro -old url?

Hi ,Thanks for your reply.
Now i have the values for T ,G and P in my category tables(I added extra field and inserted that data).
Now how to write the redirect code in the htaccess file.

Is it possible to check a table before doing the redirect in htaccess.
Because I need to check the T,G and P value and then it should redirect.
How to do this?
Reply With Quote
  #8  
Old 03-13-2009, 05:33 AM
 
exsecror exsecror is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,284
 

Default Re: cdseo pro -old url?

Quote:
Originally Posted by Vetrivel
Hi ,Thanks for your reply.
Now i have the values for T ,G and P in my category tables(I added extra field and inserted that data).
Now how to write the redirect code in the htaccess file.

Is it possible to check a table before doing the redirect in htaccess.
Because I need to check the T,G and P value and then it should redirect.
How to do this?

No .htaccess is not that sophisticated for that purpose.
Reply With Quote
  #9  
Old 03-13-2009, 06:57 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: cdseo pro -old url?

Thanks for your reply.
Then how to sort out this one.?
Do you have other Idea?
Have you come across this king of issues?
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:21 PM.

   

 
X-Cart forums © 2001-2020