ElectricRCAircraftGuy / ElectricRCAircraftGuy.github.io

My github pages website at gabrielstaples.com
https://gabrielstaples.com/
5 stars 1 forks source link

Submit a site map to Google, to index my whole site #72

Closed ElectricRCAircraftGuy closed 1 year ago

ElectricRCAircraftGuy commented 1 year ago

No idea how to do this, but it's probably better than requesting one link at a time, like in #65.

ElectricRCAircraftGuy commented 1 year ago

Note: it looks like a sitemap is already generated for me here: ElectricRCAircraftGuy.github.io/_site/sitemap.xml

ElectricRCAircraftGuy commented 1 year ago

I'm guessing here, and just tried this here: https://search.google.com/search-console/sitemaps?resource_id=sc-domain%3Agabrielstaples.com

image

ElectricRCAircraftGuy commented 1 year ago

Yep, that is my sitemap!: https://gabrielstaples.com/sitemap.xml

And Google seems to have accepted it:

image

ElectricRCAircraftGuy commented 1 year ago

The error google says it sees about my date is this line:

<url>
<loc>http://localhost:4001/test-markup-syntax-highlighting/</loc>
<lastmod>1900-01-01T00:00:00-07:00</lastmod>    <==== here====
</url>

It doesn't like that I last edited that page in the year "1900" :)

I did that just to keep that page out of the way since it is just a syntax and format test page. Maybe I should change it to 1980 or something.

ElectricRCAircraftGuy commented 1 year ago

Google seems to be happy with my fixed date and my new site map. I just re-submitted it and it seems to have no errors now!

https://search.google.com/search-console/sitemaps?resource_id=sc-domain%3Agabrielstaples.com

I've also highlighted everywhere in this image I needed to click or type to submit the site map, as a reminder to myself in the future:

image

ElectricRCAircraftGuy commented 1 year ago

^^ Gabriel Staples how to submit a site map to google for indexing/crawling of my website!

[keywords to search and find this easier later]