You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
3.3 KiB

4 years ago
  1. +++
  2. title = "Webmaster Tools"
  3. description = "Test and submit your site with popular search engines."
  4. categories = ["search"]
  5. tags = ["SEO", "robots", "metadata"]
  6. features = ["code highlighter", "related content", "snippets"]
  7. [[copyright]]
  8. owner = "Josh Habdas"
  9. date = "2019"
  10. license = "agpl-3.0-or-later"
  11. +++
  12. ## Webmaster verification
  13. Use homepage `meta` to verify your site with Google, Bing, Alexa and Yandex. All verifications are optional and some providers allow you to [submit manually](#submit-manually).
  14. To verify with `meta` add the following to your {{< external href="https://gohugo.io/getting-started/configuration/" text="Site Configuration" />}} and fill in the value provided to you by the search engine webmaster console or similar:
  15. ```toml
  16. [params.seo.webmaster_verifications]
  17. google = "" # Optional, see https://search.google.com/search-console
  18. bing = "" # Optional, see https://www.bing.com/toolbox/webmaster/
  19. yandex = "" # Optional, see https://webmaster.yandex.com/
  20. alexa = "" # Optional, claiming retired (see note below)
  21. ```
  22. {{< hackcss-alert type="info" >}}
  23. <strong>Note:</strong> Claiming your site with Alexa {{< external text="was retired" href="https://support.alexa.com/hc/en-us/articles/219135887-Claiming-has-been-retired-May-2016" />}} in May 2016.
  24. {{< /hackcss-alert >}}
  25. You may later remove verifications you no longer need or decide not to use.
  26. ### Submit manually
  27. Manually submit your Sitemap for search indexing:
  28. {{< hackcss-form target="_blank" action="https://www.google.com/webmasters/tools/ping" >}}
  29. {{< hackcss-formgroup >}}
  30. {{< hackcss-label for="google" text="Google:" />}}
  31. {{< hackcss-textinput id="google" name="sitemap" placeholder="https://domain.example/sitemap.xml" >}}
  32. {{< /hackcss-formgroup >}}
  33. {{< /hackcss-form >}}
  34. {{< hackcss-form target="_blank" action="https://bing.com/webmaster/ping.aspx" >}}
  35. {{< hackcss-formgroup >}}
  36. {{< hackcss-label for="bing" text="Bing:" />}}
  37. {{< hackcss-textinput id="bing" name="siteMap" placeholder="https://domain.example/sitemap.xml" >}}
  38. {{< /hackcss-formgroup >}}
  39. {{< /hackcss-form >}}
  40. ## Test Structured Data
  41. To test with Yandex use their {{< external href="https://webmaster.yandex.com/tools/microtest" text="Structured data validator" />}} testing tool. For Google submit the form below with the URL you wish to test:
  42. {{< hackcss-form target="_blank" action="https://search.google.com/structured-data/testing-tool" >}}
  43. {{< hackcss-formgroup >}}
  44. {{< hackcss-textinput type="hidden" name="hl" value="en" >}}
  45. {{< hackcss-label for="google" text="Test URL:" />}}
  46. {{< hackcss-textinput id="google" name="url" placeholder="https://domain.example/post/" >}}
  47. {{< /hackcss-formgroup >}}
  48. {{< /hackcss-form >}}
  49. Use [Ephemeral Hosting]({{< relref "ephemeral-hosting" >}}) to check your site while in development/testing.
  50. ## Test and Monitor Speed
  51. Nobody likes a slow website. Benchmark and analyze performance from various locations worldwide using {{< external href="https://tools.pingdom.com" text="Pingdom Tools" />}} and {{< external "https://webpagetest.org" />}} for free.
  52. Monitor performance over time using {{< external href="https://speedtracker.org" text="SpeedTracker" />}}.
  53. ## Additional services
  54. - {{< external "https://webmaster.yandex.com/tools/robotstxt/" />}}
  55. - {{< external "https://w3c.github.io/developers/tools/" />}}