GithubHelp home page GithubHelp logo

Environment not correctly respected for robots and tracking scripts, when manuallySetEnvironment is set to enabled about craft-seomatic HOT 2 CLOSED

thijskaspers avatar thijskaspers commented on June 5, 2024
Environment not correctly respected for robots and tracking scripts, when manuallySetEnvironment is set to enabled

from craft-seomatic.

Comments (2)

thijskaspers avatar thijskaspers commented on June 5, 2024 1

Thanks Andrew! We are seeing the behavior, so let me further dive into it and do some debugging to find out what is causing this. I'll keep you posted

from craft-seomatic.

khalwat avatar khalwat commented on June 5, 2024

I just attempted to replicate this, but was unable to.

I turned on a tracking script, and then I turned on Manually Set SEOmatic Environment and set Environment to live and the tracking scripts were rendered, and the robots tag was rendering as I'd expect:

<meta name="robots" content="all">

Then keeping Manually Set SEOmatic Environment on, I changed the Environment to local and the tracking scripts were not rendered. Additionally, the robots tag was rendered as I'd expect:

<meta name="robots" content="none">

So I'm guessing something else may be afoot here?

I'm happy to help you diagnose this further, but I think it may be some other complication that is causing this on your end. Or at least I'm unable to reproduce it here.

from craft-seomatic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.