Comments (7)
So for me this ties into the Field discussion:
...because if I implement an SEOmatic Field, then you could set any of the settings on a per-entry basis (including the Sitemap settings).
from craft-seomatic.
I could get behind the field for this purpose, but it would also be nice to be able to “pull” from a field or override it in templates the way you can the content fields. In the event a page should be “private” it’d be a bummer if the client toggled the lightswitch to mark it private but Google was notified of its existence via the sitemap because they forget to change the sitemap setting and/or robots setting via the field.
With an override/mapping I could handle the intent for them to make it foolproof.
from craft-seomatic.
Well, just not being in the sitemap doesn't mean anything really; the sitemap is just a way to make sure that Google finds the links you want it to find. It actually does a pretty good job indexing content just by spidering your site.
So what you really want is a way to ensure that the Robots header and tag (which Google does respect) are set properly for the entry you want excluded.
from craft-seomatic.
I also wouldn’t want to aid a human who might be digging through the sitemap for some reason. It might not be super sensitive content, but the type of content that only targets certain visitors (landing pages with special offers, for example, that are still part of the Pages structure within the CMS)
from craft-seomatic.
In fact... I'm gonna even go so far as to say that if you'll be toggling on/off the external access to some URIs, then you could make a case that you want it to be in the Sitemap. Why?
Consider... you have a URL that gets indexed by Google. Client now doesn't want it indexed, or made a mistake and it never should have been indexed.
If you remove it from the sitemap & adjust the Robots tag, Google isn't going to re-crawl it for some time.
If you keep it in the sitemap & adjust the Robots tag, now the sitemap says "hey Google, you need to index me, I changed!" and it comes in, sees that it shouldn't be in the index, and removes it.
:)
I get your scenario too, and understand what you mean. I'll do what I can!
from craft-seomatic.
Thanks! It's probably an edge case, but I'll take what I can get ;)
from craft-seomatic.
This is implemented as part of the Field #14
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 7
- 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
- Meta tags generated by SEOMatic sometimes contains IP addresses HOT 6
- 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.