Re: Moving oscommerce to zen and possible issues
OSCs version puts hyphens between the name, ZEN doesn't.
Re: Moving oscommerce to zen and possible issues
Quote:
Originally Posted by
webbydeb
OSCs version puts hyphens between the name, ZEN doesn't.
I believe Ultimate Seo can automatically redirect from old name to new name?
Re: Moving oscommerce to zen and possible issues
How would it know the old name though....
Re: Moving oscommerce to zen and possible issues
It only cares about the product/category ids in the url, not the names. So if the ids stay the same, it will know.
Re: Moving oscommerce to zen and possible issues
That's a relief...funny, I thought I posted this response. Must have forgotton to take my meds!
:clap:
Re: Moving oscommerce to zen and possible issues
Yup, you have to turn on force redirect or something in the admin setting. And Im not exactly sure it's in version 2.x or 3.x (either one, forgive me since I used this module only once long long ago)
Quote:
Originally Posted by
webbydeb
That's a relief...funny, I thought I posted this response. Must have forgotton to take my meds!
:clap:
Re: Moving oscommerce to zen and possible issues
It's working by the way. URLs are exactly the same...I'm so psyched!:yes: Great mod!
Re: Moving oscommerce to zen and possible issues
I've got this mod almost to work.
Quote:
Originally Posted by
skipwater
PHP Code:
<?php
// product_info.php
// osc direct product link convert to zen-cart product link
// this assumes that the product ids did not change form osc to zen
header('HTTP/1.1 301 Moved Permanently');
header('Location: http://www.mysite.com/index.php?main_page=product_info&products_id=' . basename($_SERVER['REQUEST_URI']));
?>
Skip
My osc url is:
http://www.mysite.co.uk/catalog/prod...roducts_id=882
and it redirected to:
http://www.newsite.co.uk/catalog/ind...s_id=dcfdcd882
Somehow it added dcfdcd to the product_id otherwise it work.
Any idea of how to solve this?
Re: Moving oscommerce to zen and possible issues
I just spent all day finding this. This product_info.php redirects properly when migrating from OSC to zen
http://www.zen-cart.com/forum/showthread.php?t=41281