satnaing / astro-paper

A minimal, accessible and SEO-friendly Astro blog theme
https://astro-paper.pages.dev/
MIT License
2.52k stars 522 forks source link

Google search console how to add astro paper to it #308

Closed fazi-gondal closed 3 months ago

fazi-gondal commented 5 months ago

Sir please write a detail article on how to add astro paper to Google search console please

No1ceTea commented 5 months ago

What do you mean by add documentation for Google Search Console ? Do you mean SEO ?

maheshrijal commented 5 months ago

@fazi-gondal you can refer to the google guide here: https://support.google.com/webmasters/answer/34592

fazi-gondal commented 5 months ago

What do you mean by add documentation for Google Search Console ? Do you mean SEO ?

Yes because I don't know how to add astro paper theme to Google search console and do seo please tell me about it in detail

fazi-gondal commented 5 months ago

@fazi-gondal you can refer to the google guide here: https://support.google.com/webmasters/answer/34592

Bro I don't know where i add Google search console verification tag in astro paper theme please tell me about it in detail because I want to add my website to Google search console and tell me little bit SEO

satnaing commented 3 months ago

Hello @fazi-gondal Did you manage to do that? As @maheshrijal said, you can follow along with the Google guide.

You can verify your site ownership by providing Google site verification value in PUBLIC_GOOGLE_SITE_VERIFICATION. It is also mentioned in the README.

AstroPaper also uses this way to verify the site ownership.

Here are the steps to follow:

Step (1) Click Add property in Google Search Console.

Step (2) Choose URL prefix

Screenshot 2024-07-23 at 11 28 46 PM

Step (3) Choose HTML tag method

image

Step (4) Copy the content value from <meta name="google-site-verification" content="copy-this" /> and put that value inside the PUBLIC_GOOGLE_SITE_VERIFICATION env variable.

Step (5) Verify the HTML tag inside the search console.

Hope this helps. Let me know if you are still having any problems.

satnaing commented 3 months ago

I'm going to convert this issue to a discussion in case someone might need this in the future.