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 site verificaiton meta tag for AHREF service. #2519

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Conversation

aaronvanderlip
Copy link
Contributor

πŸ”— Relevant links

πŸ—’οΈ What

Adding a verification meta

🀷 Why

This change will enable additional reporting options in the aref tool.

πŸ› οΈ How

πŸ“Έ Design Screenshots

πŸ§ͺ Testing

πŸ’­ Anything else?

Copy link

vercel bot commented Jul 22, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
dev-portal βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jul 22, 2024 7:07pm

Copy link

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

Copy link

github-actions bot commented Jul 22, 2024

πŸ“¦ Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action πŸ€–

This PR introduced no changes to the javascript bundle πŸ™Œ

@@ -108,6 +108,10 @@ export default function HeadMetadata(props: HeadMetadataProps) {
name="google-site-verification"
content="zRQZqfAsOX-ypXfU0mzAIzb5rUvj5fA4Zw2jWJRN-JI"
/>
<meta
name="ahrefs-site-verification"
content="9d739b21c466a84dae91df1c79396081a9072152e64f765c9390fed6f249fb84"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is alright for now, but long term we should have all of these in some sort of config file.

Copy link
Contributor

Choose a reason for hiding this comment

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

@aaronvanderlip @RubenSandwich Should this live in https://github.com/hashicorp/hc-centralized-dns? I see other google-site-verifications there.

I'd ask someone on CloudSec for confirmation, but I wonder if putting it here would then verify Developer and .com in one go: https://github.com/hashicorp/hc-centralized-dns/blob/main/terraform/active_domains/hashicorp_com/route53_records.tf

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kaitlynnefuery ahref wants proof that you own the domain and provides a number of ways to go about it. For this task I chose a verification system that I could control more directly, adding meta tag to a front end file vs a system that I don't control directly, DNS.

There is also <meta name="google-site-verification" content="zRQZqfAsOX-ypXfU0mzAIzb5rUvj5fA4Zw2jWJRN-JI"> currently in the HEAD element so we historically don't seem to have settled on a method.

Copy link
Collaborator

@RubenSandwich RubenSandwich Jul 23, 2024

Choose a reason for hiding this comment

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

I would actually prefer for these values to be in our base config file. Specifically I mean moving all of our site verification keys to it; zd-site-verification, google-site-verification, ahrefs-site-verification.

Though it's a low priority to me because so far we are keeping these all in one file.

Copy link
Collaborator

@RubenSandwich RubenSandwich left a comment

Choose a reason for hiding this comment

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

πŸ‘πŸ»

@aaronvanderlip aaronvanderlip merged commit e5e6a1e into main Jul 22, 2024
8 of 9 checks passed
@aaronvanderlip aaronvanderlip deleted the ahref-meta-tag branch July 22, 2024 19:18
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.

3 participants