You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何让Hexo+GitHub Pages博客被谷歌搜索收录?

Tips to Get Your Hexo + GitHub Pages Blog Indexed by Google

Hey there! I totally get the frustration of having a blog set up but not showing up in Google searches—let's go through actionable steps beyond the sitemap and search plugins you've already installed to get your "bmy4415's note" blog indexed:

  • Submit your site to Google Search Console
    This is the most critical step to directly notify Google about your blog. First, verify your GitHub Pages domain (the easiest method is uploading the HTML verification file Google provides to your Hexo source directory, then running hexo deploy to push it live). Once verified, submit your sitemap (usually at /sitemap.xml on your blog root) to help Google crawl all your content efficiently.

  • Optimize metadata for your Korean content
    Since you have Korean articles, make sure Google understands your content properly:

    • Update each post's front-matter with clear, Korean title and description fields—avoid auto-generated generic text.
    • Set your site's language attribute to ko-KR in your Hexo theme's configuration file; this helps Google categorize your content correctly for Korean-speaking audiences.
  • Build quality backlinks
    Google uses backlinks to gauge your site's credibility. Try sharing your Korean tech posts in relevant Korean developer communities or forums, add a link to your blog in your GitHub profile README, or reach out to other niche Korean bloggers for reciprocal links (if it makes sense for your content).

  • Fix your robots.txt file
    Ensure your blog has a proper robots.txt to guide Google crawlers. If you don't have one, create a file in your Hexo source directory with this content:

    User-agent: *
    Allow: /
    Sitemap: https://bmy4415.github.io/sitemap.xml
    

    This tells crawlers they can access all your pages and points them to your sitemap.

  • Optimize for speed and mobile usability
    Google prioritizes fast, mobile-friendly sites:

    • Use a Hexo plugin like hexo-image-optimizer to compress images and reduce page load times.
    • Make sure your theme is responsive (test how it looks on mobile devices)—Google’s mobile-first indexing means non-responsive sites might get lower priority.
  • Monitor progress and be patient
    New sites can take weeks to months to get fully indexed. Check the Coverage report in Google Search Console to spot any indexing errors (like blocked pages or duplicate content) and fix them promptly.

内容的提问来源于stack exchange,提问作者bmy4415

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 04:12:58