Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add setting to be added to article frontmatter to block web crawlers #736

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

pcnorth
Copy link
Contributor

@pcnorth pcnorth commented Dec 12, 2023

robots.txt has been modified to allow the use of an article setting
robotsdisallow: true

The effect of this is to add the page to robots.txt

I found another one in sitemap.xml
sitemap_exclude: true

The effect of this is to exclude the page from sitemap.xml

Both of these are needed to stop pages being indexed by a search engine.

These hidden or obsolete sections are now excluded using this method:
archive
contributing
sales
support

Signed-off-by: pcnorth <120174435+pcnorth@users.noreply.github.com>
@@ -5,6 +5,8 @@ date: 2021-05-18T18:55:49+01:00
lastmod: 2021-05-18T18:55:49+01:00
draft: false
images: []
sitemap_exclude: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we want to remove sales, support and contact us from crawling?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

offline discussion of archival, vs. deletion of pages no longer used

Copy link
Contributor

@SteveLasker SteveLasker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pcnorth pcnorth merged commit 1da59c2 into main Dec 13, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants