If this is your first visit, check our documentation. To post, register or login.
Forums / Business Issues / Search Engines / Google says I have Redirect errors but I cannot find them?

Google says I have Redirect errors but I cannot find them?

Started by bscho on 26 Aug 2020, 5:52 PM · Views: 147

Results 1 to 16 of 16
26 Aug 2020, 5:52 PM
#1
bscho avatar

bscho

Zen Follower

Join Date:
Jul 2016
Location:
London
Posts:
259
Plugin Contributions:
0

Google says I have Redirect errors but I cannot find them?

Cannot find redirect errors as when I enter them there is no product,

This started on my new cart on the 1st of August

https://www.webhouses.co.uk/store/index.php?main_page=product_info&cPath=60_63&products_id=699 on the 1st of August

https://www.webhouses.co.uk/store/index.php?main_page=product_info&cPath=84_87&products_id=452 on the 22nd of August

Any ideas how to find these as they are products that do not exist to my knowledge?

27 Aug 2020, 9:44 AM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: Google says I have Redirect errors but I cannot find them?

https://www.webhouses.co.uk/store/index.php?main_page=product_info&cPath=60_63&products_id=699

redirects (302) to

https://www.webhouses.co.uk/store/index.php?main_page=product_info&products_id=699

Looks like these products are turned off. They will always do this turned off. To avoid redirects, delete them.

~Melanie

27 Aug 2020, 10:02 AM
#3
bscho avatar

bscho

Zen Follower

Join Date:
Jul 2016
Location:
London
Posts:
259
Plugin Contributions:
0

Re: Google says I have Redirect errors but I cannot find them?

mprough:

https://www.webhouses.co.uk/store/index.php?main_page=product_info&cPath=60_63&products_id=699

redirects (302) to

https://www.webhouses.co.uk/store/index.php?main_page=product_info&products_id=699

Looks like these products are turned off. They will always do this turned off. To avoid redirects, delete them.

~Melanie

Cannot find the product in the first place to delete them that is the problem. Each says that there are no products.

27 Aug 2020, 10:07 AM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: Google says I have Redirect errors but I cannot find them?

What is set in Configuration >> My Store > Missing Page Check?

27 Aug 2020, 2:52 PM
#5
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Google says I have Redirect errors but I cannot find them?

mprough:

https://www.webhouses.co.uk/store/index.php?main_page=product_info&cPath=60_63&products_id=699

redirects (302) to

https://www.webhouses.co.uk/store/index.php?main_page=product_info&products_id=699

Looks like these products are turned off. They will always do this turned off. To avoid redirects, delete them.

~Melanie

melanie,
i'm a little confused by your advice. perhaps you can help me out here.

the OP says google is complaining about a redirect error. The example given by the OP, the page has a 302 redirect to a 404 page. Two questions:

  • how is that an error?
  • how would deleting the product resolve anything?

changing the products_id in the link above to something like 699455654 (i'm guessing a product that does not exist; and we may consider to be* deleted.*) exhibits the same behavior; a 302 to a 404.

so, is the problem with the OP's zc configuration? or is google currently complaining about a problem that does not exist?

i see redirects, but no redirect errors.

thanks in advance.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

27 Aug 2020, 3:12 PM
#6
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: Google says I have Redirect errors but I cannot find them?

i'm a little confused by your advice. perhaps you can help me out here.

the OP says google is complaining about a redirect error. The example given by the OP, the page has a 302 redirect to a 404 page. Two questions:

how is that an error?

Because Google is complaining about the 302

how would deleting the product resolve anything?
404 will eventually resolve naturally on Google's side, but the 302 never will

changing the products_id in the link above to something like 699455654 (i'm guessing a product that does not exist; and we may consider to be deleted.) exhibits the same behavior; a 302 to a 404.
Which is what Google is complaining about

so, is the problem with the OP's zc configuration? or is google currently complaining about a problem that does not exist?
This has been a problem for all of the time I have used Zen Cart since like 2003. I have many times brought it up.

i see redirects, but no redirect errors.
Google is just complaining about being redirected to a 302

thanks in advance.
No problem

27 Aug 2020, 3:36 PM
#7
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Google says I have Redirect errors but I cannot find them?

ok, so they are complaining about being redirected to the 404? if the original link came up with a 404, that is not a problem? but being redirected to the 404 is the problem?

bringing it to the *real *world, lets say a store has product. that product gets indexed fine; the store then sells out of that product, and it is no longer available for sale on the website. google goes to that link, what should the ideal http response be at that point? a 404?

what happens if the store has plans to get that product back in stock? would that change the appropriate response codes that the site should provide to google during the out of stock time?

i do not think deleting the product is good advice to any store owner. and as we demonstrated above, the behavior is exactly the same as it does not resolve the problem.

appreciate the insight!

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

27 Aug 2020, 3:47 PM
#8
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: Google says I have Redirect errors but I cannot find them?

ok, so they are complaining about being redirected to the 404? if the original link came up with a 404, that is not a problem? but being redirected to the 404 is the problem?
Correct
bringing it to the real world, lets say a store has product. that product gets indexed fine; the store then sells out of that product, and it is no longer available for sale on the website. google goes to that link, what should the ideal http response be at that point? a 404?
Correct
what happens if the store has plans to get that product back in stock? would that change the appropriate response codes that the site should provide to google during the out of stock time?
Technically speaking then a 302 should redirect to a substitute, however in "real world" practice it should remain on and out of stock for the best search engine results.
i do not think deleting the product is good advice to any store owner. and as we demonstrated above, the behavior is exactly the same as it does not resolve the problem.
No if it's gone delete it for sure, then Google gets a 404 appropriately so and eventually the page falls from their index as it really is gone =)

28 Aug 2020, 7:34 AM
#9
bscho avatar

bscho

Zen Follower

Join Date:
Jul 2016
Location:
London
Posts:
259
Plugin Contributions:
0

Re: Google says I have Redirect errors but I cannot find them?

mprough:

What is set in Configuration >> My Store > Missing Page Check?

Nothing there so I have just turned it on. Says they will go into index. Not sure what that means.

Where is index and is it to late to find these 8?

I am going to make a page with them and make them redirect to another active page and see if Google does not find them any more.

I have tried everything to find them on the site a real puzzle this one.

28 Aug 2020, 8:35 AM
#10
bscho avatar

bscho

Zen Follower

Join Date:
Jul 2016
Location:
London
Posts:
259
Plugin Contributions:
0

Re: Google says I have Redirect errors but I cannot find them?

mprough:

Correct

Correct

Technically speaking then a 302 should redirect to a substitute, however in "real world" practice it should remain on and out of stock for the best search engine results.

No if it's gone delete it for sure, then Google gets a 404 appropriately so and eventually the page falls from their index as it really is gone =)

Thanks that really helps.

I think these were products I deleted but cannot remember what they were.

So in the end Google would find they are deleted and give no more warnings?

28 Aug 2020, 9:51 AM
#11
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: Google says I have Redirect errors but I cannot find them?

Nothing there so I have just turned it on. Says they will go into index. Not sure what that means.
You want it set to page not found

I am going to make a page with them and make them redirect to another active page and see if Google does not find them any more.
You want them to not redirect, but give a 404 response.

I think these were products I deleted but cannot remember what they were.
Are you sure they're not just shut off? Status 0

So in the end Google would find they are deleted and give no more warnings?
If it returns a proper 404. The 302 is a temporary redirect, so Google keeps waiting for you to provide the product's new location.

28 Aug 2020, 12:40 PM
#12
bscho avatar

bscho

Zen Follower

Join Date:
Jul 2016
Location:
London
Posts:
259
Plugin Contributions:
0

Re: Google says I have Redirect errors but I cannot find them?

mprough:

You want it set to page not found

You want them to not redirect, but give a 404 response.

Are you sure they're not just shut off? Status 0

If it returns a proper 404. The 302 is a temporary redirect, so Google keeps waiting for you to provide the product's new location.

I will change it back to not found then.

I cannot find if they are shut off as I cannot find what the products were.

I still cannot find what they point to. Is there a way I can enter the pointer to find what the product was?

5 Sep 2020, 11:52 PM
#14
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Google says I have Redirect errors but I cannot find them?

mprough:

Technically speaking then a 302 should redirect to a substitute, however in "real world" practice it should remain on and out of stock for the best search engine results.
@mprough, i appreciated your help. i thought i might provide some additional information for you just in case you were unaware.

v157 has some new stuff in it, that deals with these issues, specially a new switch called PRODUCT_THROWS_200_WHEN_DISABLED. it is not in the config as far as i can tell, so one would need to define it somewhere as such:

define('PRODUCT_THROWS_200_WHEN_DISABLED', true);

this is in use in includes/functions/functions_products.php.

there is an observer there as well so that one can customize the http response for inactive items.

$zco_notifier->notify('NOTIFY_PRODUCT_INFO_PRODUCT_STATUS_CHECK', $product_info->fields, $product_status, $should_throw_404, $response_code, $use_custom_response_code);

again, thanks for the help. i think this new bit of code addresses what you have complained about since 2003. 17 years is not so bad....

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

6 Sep 2020, 12:15 AM
#15
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Google says I have Redirect errors but I cannot find them?

Melanie, if you were ever to want to write a help page on how these HTTP response codes work, it would be most welcome. It's a tricky area that can cause people grief.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 Sep 2020, 1:23 PM
#16
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: Google says I have Redirect errors but I cannot find them?

carlwhat:

melanie,
i'm a little confused by your advice. perhaps you can help me out here.

the OP says google is complaining about a redirect error. The example given by the OP, the page has a 302 redirect to a 404 page. Two questions:

  • how is that an error?
  • how would deleting the product resolve anything?

changing the products_id in the link above to something like 699455654 (i'm guessing a product that does not exist; and we may consider to be* deleted.*) exhibits the same behavior; a 302 to a 404.

so, is the problem with the OP's zc configuration? or is google currently complaining about a problem that does not exist?

i see redirects, but no redirect errors.

thanks in advance.

Not a redirect to a 404, a redirect to a working, empty page is what the OP has. Google reports these as errors in webmaster's tools. If deleted it will throw a 404 with will allow the page to drop naturally. A 302 redirect is supposed to be temporary, but Google NEVER likes them and never has. The problem does in fact exist, because a 302 is inappropriate in this case.

carlwhat:

bringing it to the real world, lets say a store has product. that product gets indexed fine; the store then sells out of that product, and it is no longer available for sale on the website. google goes to that link, what should the ideal http response be at that point? a 404?
Correct.

carlwhat:

what happens if the store has plans to get that product back in stock? would that change the appropriate response codes that the site should provide to google during the out of stock time?
200 with zero stock or upcoming stock.
bscho:

Originally Posted by mprough View Post
What is set in Configuration >> My Store > Missing Page Check?
Nothing there so I have just turned it on. Says they will go into index. Not sure what that means.

Where is index and is it to late to find these 8?

I am going to make a page with them and make them redirect to another active page and see if Google does not find them any more.

I have tried everything to find them on the site a real puzzle this one.
Set it to page not found =)