Forums / General Questions / Moving oscommerce to zen and possible issues

Moving oscommerce to zen and possible issues

Views: 3,501

Results 1 to 20 of 20
18 Oct 2008, 10:56 PM
#1
webbydeb avatar

webbydeb

Zen Follower

Join Date:
Oct 2008
Location:
Denver, CO
Posts:
65
Plugin Contributions:
0

Moving oscommerce to zen and possible issues

I am moving from oscommerce to zencart this weekend. I am well listed in google in terms of the amount of pages they have listed, and I get a lot of traffic from them.

I've got my zencart in /zen and my oscommerce in /store. I was going to simply change zen's name to store and rename /store to something else, but I have concerns....

Is there something I have to do to ensure no 404's when someone goes to a product page from google. The urls won't be exactly alike since I have cDynamicMetatags and Ultimate SEO Urls installed in the oscommerce cart...I know it will take some time for google to change the urls from the sitemap I ping them with on Sunday.

Any feedback will be appreciated. Also, any ideas on things I may be missing in terms of being aware of with this migration.

18 Oct 2008, 11:44 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Moving oscommerce to zen and possible issues

Ultimate SEO does have a version for Zen, Im not sure about cDynamicMetatags though

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

19 Oct 2008, 1:08 AM
#3
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Moving oscommerce to zen and possible issues

I posted this today http://www.zen-cart.com/forum/showthread.php?t=105805

It might help you out but you need to setup each inbound link and then redirect it to the new product link.

Skip

• 446F63746F722057686F •

20 Oct 2008, 10:22 PM
#4
webbydeb avatar

webbydeb

Zen Follower

Join Date:
Oct 2008
Location:
Denver, CO
Posts:
65
Plugin Contributions:
0

Re: Moving oscommerce to zen and possible issues

Thanks for your imput!

The setting of each url with a redirect is near impossible. I've got 2755 products in my store and I'll end up in a coma if I try that! :flex:

20 Oct 2008, 11:21 PM
#5
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Moving oscommerce to zen and possible issues

webbydeb:

Thanks for your imput!

The setting of each url with a redirect is near impossible. I've got 2755 products in my store and I'll end up in a coma if I try that! :flex:

Yes I totally agree that is not for your quantity.

I have used this method of redirect on some old osc to zen sites.
By placing this file in the store root.

<?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

• 446F63746F722057686F •

20 Oct 2008, 11:45 PM
#6
webbydeb avatar

webbydeb

Zen Follower

Join Date:
Oct 2008
Location:
Denver, CO
Posts:
65
Plugin Contributions:
0

Re: Moving oscommerce to zen and possible issues

Do I add this code to a certain file? index.php? Or is it a file on it's own?

21 Oct 2008, 12:10 AM
#7
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Moving oscommerce to zen and possible issues

It is a file on its own.

osc used product_info.php file to get products

Not like zen cart index.php?main_page=product_info

• 446F63746F722057686F •

21 Oct 2008, 1:15 AM
#8
webbydeb avatar

webbydeb

Zen Follower

Join Date:
Oct 2008
Location:
Denver, CO
Posts:
65
Plugin Contributions:
0

Re: Moving oscommerce to zen and possible issues

skipwater:

It is a file on its own.

osc used product_info.php file to get products

Not like zen cart index.php?main_page=product_info

gotcha, thanks! Fingers crossed!

21 Oct 2008, 1:37 AM
#9
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Moving oscommerce to zen and possible issues

Any particular reason why you are running your store from a sub-directory?

If NO, then install Zen Cart at the root level then put this in your .htaccess file.

RewriteEngine ON
RewriteRule store/.*(.*) http://yoursite.com/

That will redirect all requests to the old pages to your Home page.

Or you could create a specific Web page detailing what was done and use:

RewriteEngine  ON
RewriteRule store/.*(.*) http://yoursite.com/site-updated.htm

The learning is in the doing.

Potent Products

21 Oct 2008, 5:08 AM
#10
webbydeb avatar

webbydeb

Zen Follower

Join Date:
Oct 2008
Location:
Denver, CO
Posts:
65
Plugin Contributions:
0

Re: Moving oscommerce to zen and possible issues

My store is an adult store with some images not appropriate to minors, so I have the entrance with that info and that they must be 18+ to enter. Covers my ######## and keeps some out who shouldn't be there.

21 Oct 2008, 5:31 PM
#11
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Moving oscommerce to zen and possible issues

webbydeb:

My store is an adult store with some images not appropriate to minors, so I have the entrance with that info and that they must be 18+ to enter. Covers my ######## and keeps some out who shouldn't be there.

Like I mentioned, the same seo mod is available in zen. So wouldn't the links generated remain the same?
Posted via Mobile Device

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

21 Oct 2008, 8:17 PM
#13
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Moving oscommerce to zen and possible issues

webbydeb:

OSCs version puts hyphens between the name, ZEN doesn't.I believe Ultimate Seo can automatically redirect from old name to new name?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

21 Oct 2008, 8:35 PM
#15
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

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.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

21 Oct 2008, 11:15 PM
#16
webbydeb avatar

webbydeb

Zen Follower

Join Date:
Oct 2008
Location:
Denver, CO
Posts:
65
Plugin Contributions:
0

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:

22 Oct 2008, 1:24 AM
#17
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

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)

webbydeb:

That's a relief...funny, I thought I posted this response. Must have forgotton to take my meds!

:clap:

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

25 Oct 2008, 5:11 PM
#18
webbydeb avatar

webbydeb

Zen Follower

Join Date:
Oct 2008
Location:
Denver, CO
Posts:
65
Plugin Contributions:
0

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!

3 Jun 2011, 9:45 PM
#19
skpang avatar

skpang

New Zenner

Join Date:
Jun 2011
Posts:
1
Plugin Contributions:
0

Re: Moving oscommerce to zen and possible issues

I've got this mod almost to work.

skipwater:

<?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/product_info.php?products_id=882>

and it redirected to:
<http://www.newsite.co.uk/catalog/index.php?main_page=product_info&products_id=dcfdcd882>

Somehow it added dcfdcd to the product_id otherwise it work.
Any idea of how to solve this?
10 Jun 2011, 1:39 AM
#20
brobrow avatar

brobrow

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

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