seo icon indicating copy to clipboard operation
seo copied to clipboard

Production ENV naming

Open cherrykoda opened this issue 4 years ago • 2 comments

Description

Requesting that the plugin allow for the ability to set the "production" environment name. Even when editing it in the robots settings, there is internal code that relies on the env being set to 'production' specifically.

image

Steps to reproduce

  1. Create a website
  2. Have the .env for the site be "live" or "prod" or something else.
  3. Cry salty tears when google can't index

Additional info

  • Craft version: All
  • SEO version: All
  • PHP version: 8.0
  • Database driver & version: Mysql 5.5.5
  • Other Plugins: None

cherrykoda avatar Dec 15 '21 03:12 cherrykoda

Same here! Please fix the override functionality! Thanks in advance!

pixeldeluxe avatar May 12 '22 12:05 pixeldeluxe

Make sure you are using CRAFT_ENVIRONMENT rather than ENVIRONMENT in the .env

richcoopa avatar Sep 29 '22 07:09 richcoopa