If this is your first visit, check our documentation. To post, register or login.
Forums / Business Issues / Search Engines / Submitted URL marked ‘noindex’

Submitted URL marked ‘noindex’

Started by answer_42 on 26 Nov 2018, 5:42 PM · Views: 215

Results 1 to 14 of 14
26 Nov 2018, 5:42 PM
#1
answer_42 avatar

answer_42

Zen Follower

Join Date:
Dec 2016
Location:
Washington
Posts:
109
Plugin Contributions:
0

Submitted URL marked ‘noindex’

I am using the Winchester Responsive template, ZC v1.5.5d, several different plugins.

I have the main category shut off (so it doesn't display under the main drop down menu), and I have the sub categories below it turned on. The link to get to the main category is lower on the page where the image links are.

My problem is that I am getting a "Submitted URL marked ‘noindex’ " error on all of the new pages that I added from the Google search console, I assume that if I turn on the main category, that this error will go away and google will index the new pages.

Is there a way to do this and not have the new category display under the main menu?

17 Dec 2018, 3:05 PM
#2
mprough avatar

mprough

Totally Zenned

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

Re: Submitted URL marked ‘noindex’

Move the subcategories to the "TOP" and delete the main category =)

~Melanie

18 Dec 2018, 3:32 PM
#3
answer_42 avatar

answer_42

Zen Follower

Join Date:
Dec 2016
Location:
Washington
Posts:
109
Plugin Contributions:
0

Re: Submitted URL marked ‘noindex’

I think that would defeat my purpose of not having anything new display under the main navigation. By doing that, wouldn't the "sub categories" then show up?

18 Dec 2018, 3:38 PM
#4
mprough avatar

mprough

Totally Zenned

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

Re: Submitted URL marked ‘noindex’

It's the only functional way to get rid of the noindex in the turned off page

19 Dec 2018, 3:37 PM
#5
answer_42 avatar

answer_42

Zen Follower

Join Date:
Dec 2016
Location:
Washington
Posts:
109
Plugin Contributions:
0

Re: Submitted URL marked ‘noindex’

After further analysis, the ```
<meta name="robots" content="noindex, nofollow" />

 I am using these categories as information pages only for particular products that require custom quotes.These pages redirect customers to custom form pages and a sale would be handled off site.
You can see what I'm talking about here: <http://www.dandjfarmsupply.com/index.php?main_page=index&cPath=6585>

Is the "noindex" being added by Zen Cart, or is it being added by Google for not having products in the category?
19 Dec 2018, 6:14 PM
#7
answer_42 avatar

answer_42

Zen Follower

Join Date:
Dec 2016
Location:
Washington
Posts:
109
Plugin Contributions:
0

Re: Submitted URL marked ‘noindex’

Yes, that was just a link to a starting point so you could see that the categories with sub categories are indexed. Is there a way to get Zen cart to not add the noindex rule to those pages?
here is a link to a no indexed page http://www.dandjfarmsupply.com/index.php?main_page=index&cPath=6585_6586_6591

19 Dec 2018, 6:17 PM
#8
mprough avatar

mprough

Totally Zenned

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

Re: Submitted URL marked ‘noindex’

What pages? Provide a link pls

~Melanie

19 Dec 2018, 7:05 PM
#10
mprough avatar

mprough

Totally Zenned

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

Re: Submitted URL marked ‘noindex’

Ok, do the following.

in includes/modules/pages/index/header_php.php

find:

if ($category_depth == 'products' && $listing->RecordCount() == 0) $robotsNoIndex = true;

and change it to:

//if ($category_depth == 'products' && $listing->RecordCount() == 0) $robotsNoIndex = true;

~Melanie

19 Dec 2018, 7:18 PM
#11
answer_42 avatar

answer_42

Zen Follower

Join Date:
Dec 2016
Location:
Washington
Posts:
109
Plugin Contributions:
0

Re: Submitted URL marked ‘noindex’

Brilliant, Thank you so much.

20 Dec 2018, 3:24 PM
#12
answer_42 avatar

answer_42

Zen Follower

Join Date:
Dec 2016
Location:
Washington
Posts:
109
Plugin Contributions:
0

Re: Submitted URL marked ‘noindex’

Instead of commenting out the code, I think I should do something similar to the code below that way I don't index anything that I don't need indexed.```
if ($category_depth == 'products' && $listing->RecordCount() == 0 && categories_description != "") $robotsNoIndex = true;

20 Dec 2018, 5:13 PM
#13
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Submitted URL marked ‘noindex’

answer=42:

Instead of commenting out the code, I think I should do something similar to the code below that way I don't index anything that I don't need indexed.```
if ($category_depth == 'products' && $listing->RecordCount() == 0 && categories_description != "") $robotsNoIndex = true;


Hope you understand that what this does is if the page doesn't have any products in it (end of tree category page), and the category has some sort of description then *DO NOT* index it.  But, if the category does not have any type of description and is again at the end of a tree with no products then to allow indexing it... 

I thought that the categories that are/were currently showing content and marked as noindex were to be changed to allow indexing.  From what it seems like these categories have descriptions.  That seems to mean that what you really want (if you are not going to follow the previously provided advise) is not index pages that are blank, but index pages that have description content so this instead:

if ($category_depth == 'products' && $listing->RecordCount() == 0 && categories_description == "") $robotsNoIndex = true;

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

20 Dec 2018, 6:07 PM
#14
answer_42 avatar

answer_42

Zen Follower

Join Date:
Dec 2016
Location:
Washington
Posts:
109
Plugin Contributions:
0

Re: Submitted URL marked ‘noindex’

Yes, by the time I noticed how I wrote it, it was too late to edit.

Thanks Mc #'s, you never seem to disappoint with your wisdom.