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

ACD-594: Disallow indexing #2823

Open
wants to merge 2 commits into
base: ACD-588-update-rails-7.2
Choose a base branch
from

Conversation

patrick-laa
Copy link

@patrick-laa patrick-laa commented Mar 10, 2025

What

Instruct Google and other crawlers not to index the site in any environment.

Ticket

Hide VCD from search engines

Why

Because these pages are not for public consumption and their presence on Google may cause confusion.

"VCD’s intended users have other ways of getting the link (from emails, intranet, bookmarks etc) so the downsides of it being on search engines outweigh any benefits."

How

Do this by:
- Adding a global directive in robots.txt

  • Adding a meta tag on each individual page

(robots.txt tells crawlers whether they can crawl pages. SInce Google already has crawled our pages and believes the content is indexable, we want to allow the crawlers to keep crawling so they at some point crawl back and notice that the pages are now noindex.)

Note that these directives ask Google not to index us. We cannot force Google not to unless we make it impossible for Googlebot to load any pages on the site.

Finally, note that for me to run bundler, given my processor on my laptop, certain adjustments to the Gemfile are necessary. These aren't directly relevant to the ticket, but I hope they're small enough it's OK to include here rather than a separate PR.

@patrick-laa patrick-laa requested a review from a team as a code owner March 10, 2025 12:00
exonian
exonian previously approved these changes Mar 10, 2025
@patrick-laa patrick-laa force-pushed the ACD-594-disallow-indexing branch from 2fa3ffd to f7ecebd Compare March 11, 2025 15:06
@patrick-laa patrick-laa changed the base branch from main to ACD-588-update-rails-7.2 March 11, 2025 15:06
@patrick-laa patrick-laa force-pushed the ACD-594-disallow-indexing branch from f7ecebd to 0c2088c Compare March 11, 2025 15:10
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.

2 participants