Forums / Search Engines / New Google problem searching my store

New Google problem searching my store

Views: 119

Results 1 to 5 of 5
15 Sep 2020, 11:22 AM
#1
bscho avatar

bscho

Zen Follower

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

New Google problem searching my store

I cannot understand why this has not been thrown up by the Google crawl of my site.

They crawled it often and I fixed everything a month ago now it has come up with this.

It has found 40 of these

https://www.webhouses.co.uk/store/index.php?main_page=ask_a_question&pid=179

V157 has this new addition to the products and I guess It is from the Ask a Question button.

I have far more than 40 products so I do not know what is going on here and I cannot see how to fix or find these all with different numbers

Any ideas on this will be appreciated how to fix this one indeed how to find them?

15 Sep 2020, 12:04 PM
#2
swguy avatar

swguy

Administrator

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

Re: New Google problem searching my store

Where is it getting product 179 from?

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

returns a 404.

Are these products you have disabled? If so, then you're going to get 404s.

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.

15 Sep 2020, 3:56 PM
#3
carlwhat avatar

carlwhat

zennedOut

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

Re: New Google problem searching my store

swguy:

Where is it getting product 179 from?

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

returns a 404.

Are these products you have disabled? If so, then you're going to get 404s.

that is not entirely true. in v157, there is a new constant. setting it to true will not give a 404:

define('PRODUCT_THROWS_200_WHEN_DISABLED', true);

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

18 Sep 2020, 8:04 AM
#4
bscho avatar

bscho

Zen Follower

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

Re: New Google problem searching my store

carlwhat:

that is not entirely true. in v157, there is a new constant. setting it to true will not give a 404:

define('PRODUCT_THROWS_200_WHEN_DISABLED', true);


Can you tell me where to find it please?
18 Sep 2020, 2:40 PM
#5
carlwhat avatar

carlwhat

zennedOut

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

Re: New Google problem searching my store

bscho:

Can you tell me where to find it please?

you need to create a new file ending in .php (name it whatever you want, but preferably something with meaning to you) and place the line i quoted above in that file. you then need to upload that file to any of the auto loading directories as described here:

https://docs.zen-cart.com/dev/code/inclusion/#extra-datafiles-extra-configures-extra-cart-actions

i am hesitant to recommend which directory out of fear of being :censored:.... but any file name in any of the auto loading directories should work.

good luck.

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