While it works great after manually configuring a couple of them in the admin (using the product URI), I need to redirect a lot of products to a category. What does the flat file import look like for something like this? I'm having trouble finding an example.
Announcement
Collapse
No announcement yet.
Product to Category 301 redirects via flat file
Collapse
X
-
Product to Category 301 redirects via flat file
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Tags: None
-
Originally posted by lesliekirk View PostWhile it works great after manually configuring a couple of them in the admin (using the product URI), I need to redirect a lot of products to a category. What does the flat file import look like for something like this? I'm having trouble finding an example.
Example of flat file import columns.PNGAttached Files
Kathleen Steimle-Hermes, owner
Miss Kate's Creations
[email protected]
www.misskatescreations.com
Handcrafted fabric covered photo albums, frames, brag books and MORE
Comment
-
Originally posted by RTHOMASDESIGN View PostSomething like this:You can export your current URIs and use what you have in there as a template.URI CANONICAL STATUS PAGE_CODE CATEGORY_CODE PRODUCT_CODE FEED_CODE /product/your-product-uri.html No 301 Your-category-code Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
It doesn't look like you have enough columns. How would Miva determine what the URI is supposed to be for? Looking at the three columns you have... /W1230SA.html as a URI, but Miva wouldn't know what the URI is for (it can't assume it's for product W1230SA). As said in the previous post, I think the easiest way to do this is to do an export, look at the data you already have, make a copy, and then use the file as a template. That way you can have Miva "Determine Automatically Using Header Row" in import settings.
Comment
-
I put together a quick template that you (or other readers) can download here for importing:
https://rthomasdesign.com/Miva-URI-Template.csv
It should make sense just looking at it :)
- 1 like
Comment
-
Originally posted by RTHOMASDESIGN View PostIt doesn't look like you have enough columns. How would Miva determine what the URI is supposed to be for? Looking at the three columns you have... /W1230SA.html as a URI, but Miva wouldn't know what the URI is for (it can't assume it's for product W1230SA). As said in the previous post, I think the easiest way to do this is to do an export, look at the data you already have, make a copy, and then use the file as a template. That way you can have Miva "Determine Automatically Using Header Row" in import settings.Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
- 1 like
Comment
-
I was so excited when I thought I had this working just like I wanted it to until I discovered that ALL of the products are still "discoverable" via the long-style links. I first noticed it on the SMAP page. Now I have to figure out where my sitemap generator app is finding all of these long links at because they do NOT redirect when clicked on. So what is the fix for this?Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
Actually, we have 61000 products for a brand, and we need to change the codes just for those products by removing them and uploading them with new product codes. So, in order to not come up as a 404 Not found error code on someone's search, we want to do a 301 redirect for all those old URLs to the new URLs (same products but with different codes).
For e.g., an old link would be
guaranteedparts.com/product/VIKINGR-VKPA020041.html
& the new link would be
guaranteedparts.com/product/viking-pa020041.html
guaranteedparts.com/product/VIKINGR-VKPA020041.html
301 redirect to
guaranteedparts.com/product/viking-pa020041.html
Comment
-
Originally posted by Shiv View PostActually, we have 61000 products for a brand, and we need to change the codes just for those products by removing them and uploading them with new product codes. So, in order to not come up as a 404 Not found error code on someone's search, we want to do a 301 redirect for all those old URLs to the new URLs (same products but with different codes).
For e.g., an old link would be
guaranteedparts.com/product/VIKINGR-VKPA020041.html
& the new link would be
guaranteedparts.com/product/viking-pa020041.html
guaranteedparts.com/product/VIKINGR-VKPA020041.html
301 redirect to
guaranteedparts.com/product/viking-pa020041.html
Comment
-
Originally posted by Shiv View PostActually, we have 61000 products for a brand, and we need to change the codes just for those products by removing them and uploading them with new product codes.
Here is a link to the XML format needed to update a product code.
https://gist.github.com/steveosoule/...oduct%20Update
It should look something like this:
Code:<!-- Product Update --> <Product_Update code="current_code"> <Code>new_code</Code> </Product_Update>
https://gist.github.com/steveosoule/...8d4edbcd046be6
Once the files have been created they can be uploaded in the Miva admin under Data Management using the Import Data and Settings in XML Provisioning Format option.
Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
Comment
Comment