You are here:  » Update specific field

Support Forum



Update specific field

Submitted by john100 on Mon, 2013-02-04 08:19 in

Hi David,

To start with I use google webmaster tools, and each time there is a new feed import, a sitemap is created and sent to Google.

Here is my issue. I'm dealing with books feeds. So far I create a new product database, import, normalize due to specific issues, then
substitute the old database by the new one. The disruption of service is only of a couple of seconds.

However between feeds we can have hundreds of products that disappear and my old friend Google does not like that.
It keeps sending emails saying that I have 404 pages. Google seems annoy (which is true because products do not exist anymore)

So here is my idea in order to solve this issue and keep Google calm.

Duplicate products database (products_import)
Add 2 new fields (import_ref, date import)
Import feed in duplicated database
If dupe_hash exist update price else import product
Mark imported/updated product with a reference (new import, updated) in import_ref field and add date in date field
Run database and select all products with no reference (import_ref), update price to 0 or N/A, update buy_url to empty and update import_ref with (N/A ref) and add date.

Doing so would solve the 404 issue. Moreover this would leave the option to extract old products by dates at some point and send an update to Google.

I know that updating a database can become a mess if not done properly. However, have you thought of a better way to deal with this issue? Is there a flaw in my reasoning?

regards,
john

Submitted by support on Mon, 2013-02-04 08:36

Hi John,

That's certainly an option, and as you say would provide the additional benefits of historic reports etc. you would need to handle how the script presents expired products using conditional code on buy_url but that's straight forward (let me know if not sure of course).

My understanding is that this issue occurs when your site is updated faster than Google is updating its copy of the sitemap, so it may actually make sense _not_ to return 404 for expired products - since the page will be showing Related Prodcuts anyway which still makes the page contain valid and useful content; however it will be removed from the sitemap automatically so next time a search engine updates its copy it will no longer find that URL mapped.

More discussion and details of the mod are in this thread...

Cheers,
David.
--
PriceTapestry.com