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)
- SEOMatic tags don't auto render on website HOT 4
- Draft entries show wrong social media preview images
- Duplicated Section in Content SEO and Sitemap HOT 1
- SEO Title Source Field does not show all available fields HOT 2
- Set Meta Robots value on per-entry basis HOT 3
- Fallback if fields used for description are empty HOT 7
- Title and description for custom pages HOT 6
- Empty values in JSON should be null not [] HOT 3
- Craft 5 Type Error caused by missing SourceId when trying to edit matrix block (entry type) HOT 6
- SEO Meta Descriptions and Page Titles not matching in Google Search HOT 1
- Allow to set noindex,follow in the SEO settings field HOT 2
- Use entry variables in meta tags HOT 3
- Including indexable files within the XML sitemap via related download entries HOT 3
- Alt Tags not being seen through site audit on multiple crawlers HOT 1
- Google Web Stories HOT 1
- Error on save SeoMatic settings HOT 2
- Unable to change SEO metafields after changing entry type HOT 5
- How to update frontendTemplatesContainer via content migration HOT 2
- [5.0.2] - Error rendering template string -> Variable "date" does not exist HOT 4
- Canonicals and hreflangs for paginated paginas HOT 3
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.