Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Kim Søjborg Pedersen 71 posts 275 karma points
    Jul 08, 2013 @ 20:43
    Kim Søjborg Pedersen
    0

    url break when importing

    When I make an import I first delete all categories and producs and then create new ones from the import file. The problem is that all categories and products gets new id's and that breaks the url and I start all over with Google index.

    What can I do to avoid this? 

  • Michael Hyldsgaard 64 posts 124 karma points
    Jul 08, 2013 @ 20:49
    Michael Hyldsgaard
    0

    Hi Kim.

    I never delete any categories or products once they have been added. All our import scripts checks if the category/product exists and then update/create based on that. Of course that costs some performance when importing but I can't really see a way to avoid this.

    /Michael

  • Kim Søjborg Pedersen 71 posts 275 karma points
    Jul 08, 2013 @ 21:09
    Kim Søjborg Pedersen
    0

    Hi Michael,

    unfortunately i don't have the option to make update on products (it's a long story :)), but I am considering making my own url handling based on the product SKU, that should solve the problem and then just make updates on categories.

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Jul 09, 2013 @ 09:16
    Nickolaj Lundgreen
    0

    What is the reason for not using the SKU to id the product and update it (like Michael suggest) on import?

  • Kim Søjborg Pedersen 71 posts 275 karma points
    Jul 09, 2013 @ 10:15
    Kim Søjborg Pedersen
    0

    Hi Nicolaj,

    My case was that I had an live site with umbraco 4 and uCommerce I could not upgrade to umbraco 6. So I decidede to move the products to a clean umbraco 6 with the latest uCommerce. I have done that but then I discovered that I had an issuse with the shifting id's that whould breake the google index. Now I has auto generated some 301 code where I map the old id to the new id and tell google about the change.

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Jul 09, 2013 @ 10:25
    Nickolaj Lundgreen
    101

    I guess  you could make a small SQL script that makes a IDENTITY_INSERT and creates a basic product with the correct ID and SKU.

    You could then make some sort of C# import to populate the more advanced product features.

    I hope that makes sense :)

  • Kim Søjborg Pedersen 71 posts 275 karma points
    Jul 09, 2013 @ 12:15
    Kim Søjborg Pedersen
    0

    That was an good idea thanks, I will try that.

Please Sign in or register to post replies

Write your reply to:

Draft