Comments (6)
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.
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.
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.
@khalwat All sites URLs are configured using an environment variable. We are not using @web
alias in our configuration.
from craft-seomatic.
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.
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)
- Make the page "Dashboard" in SEOmatic in the Craft Backend hideable HOT 6
- Using seomatic.helper.socialTransform with non PNG or JPG image and no transform name results in error HOT 3
- [5.0.0-beta.2] seomatic brakes styling of color preview in card mode HOT 2
- [FR] - Seomatic creates more than 100GB caches HOT 1
- Robots tag set to none for PRODUCTION. HOT 2
- Aggregated data from matrix-field returns strange values HOT 10
- Change script sort order HOT 1
- Exclude specific entry page from sitemap based on entry.customField? HOT 3
- JSON-LD Meta: Add support for "CourseInstance.CourseSchedule" HOT 3
- SEOmatic 5 b5, failed sitemap generation queue jobs HOT 16
- Positioning of GTM code HOT 12
- Is it possible to have separate xml and page paths in sitemaps? HOT 2
- GraphQL argument types mismatch with Craft HOT 2
- `security.txt` file does not end with newline (carriage return) by default HOT 3
- Environment not correctly respected for robots and tracking scripts, when manuallySetEnvironment is set to enabled HOT 2
- Sitemap not generating for section - no error logs HOT 7
- SEOmatic: Issue with GA$ Tracking Scripts HOT 3
- security.txt: str_ends_with(): Argument #1 ($haystack) must be of type string, array given HOT 3
- Cannot use ::class with dynamic class name HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft-seomatic.