seo icon indicating copy to clipboard operation
seo copied to clipboard

Noindex issue with new google search console

Open alanski66 opened this issue 3 years ago • 4 comments
trafficstars

Description

I recently started a new marketing site and started to add the domain to google search consle as opposed to url. The domain is a new thing google offer as opposed to just adding url so I went that route. After two weeks of submitting SEO sitemaps I kept getting noindex flags from google. I checked the raw page output and headers sent - noindex issue persisted, along with a very confusing HTTPS message

Total head scratch.

Having lost time on SEO juice building i just swapped out this SEO plugin to another commercial plugin i have used on other sites. Submitted site map - and we are back in the index. Go figure.

Not sure whats going on here but it ain't good.

Steps to reproduce

  1. Just use it as intended and set environment correctly
  2. Request search index via google console via submission of SEO produced sitemaps

Additional info

  • Craft version: 4
  • SEO version: latest
  • PHP version: 8.1
  • Database driver & version: mySQL5.7

alanski66 avatar Oct 02 '22 11:10 alanski66

Yes, this is the same as #432

remcoov avatar Oct 04 '22 14:10 remcoov

I'm still experiencing this issue?

SoftboiledStudios avatar Nov 17 '22 15:11 SoftboiledStudios

If anyone else is experiencing this, it's because the plugin is still looking for ENVIRONMENT variable. Craft CMS 4 now uses CRAFT_ENVIRONMENT. So a hack around this problem until this plugin is updated is to have both variables in your .env file.

CRAFT_ENVIRONMENT=production
ENVIRONMENT=production

mateostabio avatar Mar 27 '23 13:03 mateostabio

The work-around should not be necessary anymore in the latest version of the plug-in.

niektenhoopen avatar Sep 06 '23 06:09 niektenhoopen