X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   cdseo pro -old url? (https://forum.x-cart.com/showthread.php?t=46036)

Vetrivel 03-05-2009 05:22 AM

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.

balinor 03-05-2009 05:24 AM

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

Vetrivel 03-05-2009 06:10 AM

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


balinor 03-05-2009 06:14 AM

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?

Vetrivel 03-05-2009 06:27 AM

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?


balinor 03-05-2009 06:29 AM

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

Vetrivel 03-13-2009 04:42 AM

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?

exsecror 03-13-2009 05:33 AM

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.

Vetrivel 03-13-2009 06:57 AM

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?


All times are GMT -8. The time now is 05:07 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.