Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

How to exclude pages from sitemap?

Started by Muut Archive 11 years ago · 4 replies · 859 views
11 years ago

I'm using the sitemap plugin and it's working very well. But I want to exclude two pages from the sitemap, as they are not shown in the menu and are used for some special cases that should not be visible to any search engine.
In the sitemap plugin I did not find any config option for that and in the code I only saw that pages with routable: false are excluded automatically. But if I set the page to routable: false, the page is also not visible anymore...

Is there any possibility to exclude pages from the sitemap with this plugin?

Thanks,
Marc

11 years ago

Sorted in version 1.3.0 of sitemap plugin. Just see the ignores option in the sitemap.yaml file.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1322 9 years ago
Archive · by Muut Archive, 9 years ago
2 918 9 years ago
Archive · by Muut Archive, 9 years ago
2 4048 9 years ago
Archive · by Muut Archive, 9 years ago
1 2922 9 years ago
Archive · by Muut Archive, 9 years ago
3 1106 9 years ago