GithubHelp home page GithubHelp logo

Comments (6)

khalwat avatar khalwat commented on June 4, 2024 1

If you have regenerateSitemapsAutomatically disabled, it will not regenerate the sitemap when content authors make changes.

You will need to manually regenerate it with the CLI command:

https://nystudio107.com/docs/seomatic/configuring/content-seo.html#sitemap-generation

from craft-seomatic.

obrassard avatar obrassard commented on June 4, 2024

In order to better diagnose the problem, we disabled these two parameters:

'regenerateSitemapsAutomatically' => false,
'submitSitemaps' => false,

When regenerateSitemapsAutomatically is deactivated, how can site maps be regenerated manually?
Also, is there a way to submit site maps manually from within the plugin?

Thanks

from craft-seomatic.

khalwat avatar khalwat commented on June 4, 2024

If I had to guess, probably you are not properly setting your site's site URL, as discussed here:

https://craftcms.com/docs/4.x/sites.html#site-url

If your site URL is not set properly, Yii2/Craft will attempt to determine it, and may end up falling back on the IP address.

from craft-seomatic.

obrassard avatar obrassard commented on June 4, 2024

@khalwat All sites URLs are configured using an environment variable. We are not using @web alias in our configuration.

from craft-seomatic.

khalwat avatar khalwat commented on June 4, 2024

Well, something is causing it to resolve to an IP address. SEOmatic just asks Craft what the site URL is when generating any of the sitemaps or meta tags that it generates.

So the source of the problem -- somehow -- is upstream from SEOmatic.

It wouldn't have anything to do with sitemap submission to Google, and sitemaps and meta tags are generated when pages are requested -- and then they are cached using whatever your default caching mechanism is.

I wish I had a more solid answer for you, and I'm happy to continue this discussion if it does end up that SEOmatic is somehow at fault -- but I'm rather certain it's going to be a devops issue of some form or another.

from craft-seomatic.

obrassard avatar obrassard commented on June 4, 2024

Ok thank you for your help, we will continue investigating with that in mind.

Just one last question: what is the behaviour of the plugin when regenerateSitemapsAutomatically is disabled ?
And is there a way to regenerate site maps manually when it is disabled ?

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.