暫定日本語訳:Hexo SEO
暫定日本語訳:どのように へ do SEO on Hexo サイト — Node.js static サイト generator. Hexo outputs pure HTML so コンテンツ is crawlable on 最初 fetch, ただし sitemaps, robots.txt, meta 説明, canonicals, structured データ, と stable permalinks all depend on plugins と config.
言語
暫定日本語訳:Hexo is Node.js static サイト generator: hexo generate compiles Markdown へ pure static HTML, so Googlebot reads あなた full コンテンツ on 最初 fetch とともに no JavaScript rendering queue. その's crawlability floor — ただし it's ない finished SEO. 大半の デフォルト themes ship no sitemap, no robots.txt, no per-post meta 説明, no canonical, と no structured データ; あなた 追加 それらの とともに _config.yml 設定, front matter fields, theme edits, と plugins (hexo-generator-sitemap, hexo-generator-robotstxt, hexo-generator-フィード, hexo-abbrlink). big traps are 誤った url: in _config.yml, date-based デフォルト permalink その breaks links on rename, と auto-generated category/tag archives その 作成 thin duplicate コンテンツ. 向けに Baidu-facing サイト, static output removes real クロール obstacle — though その's ない guarantee of Baidu インデックス登録 または ランキング.
暫定日本語案: TL;DR — Hexo 構築 あなた blog へ plain HTML files ahead of time, so Google 暫定日本語案: sees あなた コンテンツ moment it fetches ページ — no waiting on JavaScript. その’s 暫定日本語案: easy part. catch: Hexo doesn’t 追加 sitemap,
robots.txt, meta 暫定日本語案: 説明, または canonical tags on its own. あなた turn それらの on とともに few plugins 暫定日本語案: と config 設定.
何 Hexo is
暫定日本語案: Hexo is 無料 blogging framework built on Node.js. あなた write posts in Markdown,
暫定日本語案: run hexo generate, と Hexo turns everything へ finished HTML files. あなた upload
暫定日本語案: それらの files へ host (GitHub ページ, Netlify, Cloudflare ページ, と so on). いつ
暫定日本語案: Google または reader リクエスト ページ, それら get 完全な HTML right away — there’s
暫定日本語案: nothing left 向けに ブラウザー へ 構築. Evidence for this claim Hexo generates static site files from source content. Scope: Hexo static generation. Confidence: high · Verified: Hexo documentation
暫定日本語案: その’s great 向けに SEO: あなた text と links are in ページ から 最初 byte, so 暫定日本語案: Google doesn’t have へ run any JavaScript へ find あなた コンテンツ. Hexo sits in 同じ 暫定日本語案: family as Hugo と Jekyll — all of them pre-構築 everything (see Static サイト 暫定日本語案: Generators).
何 Hexo does ない do 向けに あなた
暫定日本語案: Here’s どこ beginners get caught: fresh Hexo サイト とともに デフォルト theme is 不足している 暫定日本語案: 大半の basic SEO pieces. あなた usually have へ 追加:
- 暫定日本語案: ** XML sitemap** — install
hexo-generator-sitemapplugin. Evidence for this claim The official Hexo sitemap generator creates sitemap.xml output. Scope: hexo-generator-sitemap plugin. Confidence: high · Verified: Hexo sitemap generator - 暫定日本語案: **
robots.txt** — installhexo-generator-robotstxt(または drop file in あなた 暫定日本語案: ソース folder). - 暫定日本語案: Meta 説明 — 追加
description:へ 各 post, と 大半の themes need 暫定日本語案: small template edit へ actually print it. - 暫定日本語案: Canonical tags — theme-dependent; popular NexT theme できる do it once あなた 設定 暫定日本語案: things up.
two 設定 その matter 大半の 前に あなた launch
暫定日本語案: In あなた _config.yml file:
- 暫定日本語案:
url:必要がある be 設定 へ あなた real live address とともにhttps://(向けに 例 暫定日本語案:https://yourdomain.com). Get この 誤った と あなた sitemap, canonical, と フィード 暫定日本語案: links all point へ 誤った place. - 暫定日本語案:
permalink:controls あなた URL pattern. デフォルト puts date in すべての URL. 暫定日本語案: Many 人々 prefer cleaner:title/. Whatever あなた pick, don’t change post’s 暫定日本語案: URL later なしで リダイレクト — it breaks links と loses ランキング signals.
thing 大半の 人々 get 誤った
暫定日本語案: “It’s static HTML, so SEO is automatic.” No. Static HTML means Google できる クロール 暫定日本語案: あなた コンテンツ easily — その’s head start, ない finish line. あなた still need 暫定日本語案: sitemap, meta 説明, canonical tags, と good コンテンツ. static part 暫定日本語案: just means あなた won’t have JavaScript インデックス登録 問題 その single-ページ apps have.
暫定日本語案: Want full version — すべての plugin, NexT theme fixes, category/tag 暫定日本語案: duplicate-コンテンツ trap, structured データ, と Baidu targeting? Switch へ 暫定日本語案: Advanced tab.
暫定日本語案: TL;DR — Hexo (
hexo generate) emits pure static HTML, so あなた コンテンツ is in 暫定日本語案: 最初 byte of レスポンス — no Web Rendering Service, no Wave 2 delay. その’s 暫定日本語案: crawlability floor, ない finished SEO. デフォルト themes ship no sitemap, no 暫定日本語案: robots.txt, no per-post meta 説明, no canonical, と no structured データ; あなた 暫定日本語案: 追加 them via_config.yml, front matter, theme template edits, と plugins 暫定日本語案: (hexo-generator-sitemap,hexo-generator-robotstxt,hexo-generator-feed, 暫定日本語案:hexo-abbrlink,hexo-indexnow). three traps その actually bite: 誤った 暫定日本語案:url:in_config.ymlbreaks canonicals/sitemap/フィード; date-based デフォルト 暫定日本語案: permalink ties URLs へ filenames so rename breaks links; と auto-generated 暫定日本語案: category/tag archives 作成 thin duplicate コンテンツ. 向けに Baidu-facing サイト 暫定日本語案: static output is real advantage.
Hexo’s static output is クロール advantage
暫定日本語案: hexo generate runs あなた Markdown と theme templates 通じて 構築 手順 と writes
暫定日本語案: folder of finished HTML, CSS, と assets. SEO-relevant fact is いつ HTML
暫定日本語案: exists: at 構築 time, once, 向けに everyone — ない per リクエスト, と ない in ブラウザー. Evidence for this claim The Hexo generate command builds static files into the configured public directory. Scope: Hexo generate command. Confidence: high · Verified: Hexo: Commands
暫定日本語案: Google describes two-phase プロセス 向けに JavaScript ページ: Wave 1 fetches raw HTML 暫定日本語案: と indexes static コンテンツ immediately; Wave 2 is deferred headless-Chromium 暫定日本語案: rendering queue その できる take seconds へ days. Hexo output skips Wave 2 entirely — 暫定日本語案: すべての ページ is raw HTML on 最初 fetch. Google’s own guidance is blunt その この is 暫定日本語案: recommended path: dynamic rendering was “a workaround and not a long-term solution… use server-side rendering, static rendering, or hydration as a solution,” 暫定日本語案: と Hexo produces static rendering, one of three explicitly recommended 暫定日本語案: approaches.
暫定日本語案: Two more wins fall out of この:
- 暫定日本語案: Crawlable links by デフォルト. Hexo templates emit plain
<a href>anchors in 暫定日本語案: static HTML, so それら satisfy Google’s requirement その links be real, crawlable 暫定日本語案: URLs — no JavaScript-generated navigation へ design around. - 暫定日本語案: Cheap へ クロール. Static files served から CDN have effectively zero 暫定日本語案: サーバー-processing cost per リクエスト, so Googlebot できる クロール at its 許可 rate 暫定日本語案: なしで tripping クロール-rate throttling. As Gary Illyes put it, “if you are making expensive database calls, that’s going to cost the server a lot” — Hexo 作る none.
暫定日本語案: caveat: zero render-blocking 向けに crawlers is ない 同じ as zero 暫定日本語案: render-blocking 向けに ユーザー. Theme JS/CSS still affects Core Web Vitals (more below).
設定 _config.yml 最初 — url: is big one
暫定日本語案: 設定 これらの global keys 前に あなた 最初 deploy:
url: https://yourdomain.com # must match your live domain, with https://
permalink: :title/ # or :year/:month/:day/:title/ (the default)
title: Site Title
description: Global meta description fallback
author: Your Name
language: en
meta_generator: false # removes the <meta name="generator" content="Hexo"> tag- 暫定日本語案:
url:is single 大半の consequential 設定. It’s サイト’s 設定 暫定日本語案: base URL, which themes と generators できる 使用 向けに canonical tags, フィード, 暫定日本語案: sitemaps, と pagination. 誤った value できる propagate へ それらの outputs. Evidence for this claim Hexo's url configuration supplies the website URL used by themes and generators. Scope: Exact downstream fields depend on the installed theme and plugins. Confidence: high · Verified: Hexo: Configuration - 暫定日本語案:
permalink:— デフォルト:year/:month/:day/:title/produces date-based URLs 暫定日本語案: その look stale 超えて time と tie slug へ filename. Cleaner options are 暫定日本語案:/:title/または/:category/:title/. - 暫定日本語案:
meta_generator: falsestrips Hexo’s generator fingerprint から<head>. - 暫定日本語案: Deploying へ subdirectory?
url:alone isn’t enough — 設定root:へ 暫定日本語案: subdirectory path too (e.g.root: /blog/). Hexo’surl_forhelper 構築 暫定日本語案: root-relative links, whilefull_url_forprepends fullurl:value; get 暫定日本語案:root:誤った on subdirectory deploy と internal links, フィード, と sitemap 暫定日本語案: entries end up pointing at domain root instead of actual path. - 暫定日本語案: Config precedence: サイト’s
_config.ymlsets baseurl/root/permalink暫定日本語案: values; theme’s own config (its bundled_config.yml, または_config.<theme>.yml暫定日本語案: at project root) layers on top 向けに display と template 設定, ただし doesn’t 暫定日本語案: override サイト-level URL structure — theme できる’t fix 誤ったurl:. - 暫定日本語案: テスト in safe mode?
hexo server --safe(またはhexo --safe) disables すべての 暫定日本語案: plugin と script, so output あなた’re viewing is 不足している あなた sitemap, robots.txt, 暫定日本語案: と any SEO plugin’s tags. Don’t 使用 safe-mode preview へ 確認 SEO output — 暫定日本語案: run normalhexo generate最初.
Front matter SEO controls (と 何’s 不足している)
暫定日本語案: Native Hexo front matter あなた できる rely on:
---
title: "Article Title for the <title> tag"
date: 2024-01-15
updated: 2024-06-01
tags: [tag1, tag2]
categories: [Category]
permalink: /custom-url/ # overrides the global pattern for this post
published: true
sitemap: false # exclude this post from sitemap.xml
---暫定日本語案: 何 is ない in native front matter と needs theme support または template edit:
- 暫定日本語案:
description( meta 説明) — 大半の themes don’t print it なしで patch. - 暫定日本語案:
keywords(per-post keyword meta) — と largely pointless anyway; Google has 暫定日本語案: ignored<meta name="keywords">since 2009. Treatkeywordsas organizational 暫定日本語案: aid, ない ランキング lever. - 暫定日本語案:
canonical(override canonical URL) — theme-dependent.
暫定日本語案: 保つ updated: field 現在の いつ あなた revise post — sitemap freshness depends
暫定日本語案: on it (next section).
Essential plugins
暫定日本語案: Sitemap — hexo-generator-sitemap (公式):
npm install hexo-generator-sitemap --savesitemap:
path:
- sitemap.xml
tags: true
categories: true暫定日本語案: It reads lastmod から 各 post’s updated field (falling back へ date) — which
暫定日本語案: matters because Bing warns その lastmod “should reflect the true last modification
time of the page content, not the sitemap file itself.” 後に hexo generate, submit
暫定日本語案: resulting sitemap.xml in Google 検索 Console と Bing Webmaster ツール. と
暫定日本語案: heed Bing’s other warning: “Do not submit a static sitemap and forget it. New pages
won’t get picked up” — 向けに Hexo その means re-deploying と re-submitting (または using
暫定日本語案: IndexNow) 後に すべての 新しい post.
暫定日本語案: robots.txt — hexo-generator-robotstxt:
npm install hexo-generator-robotstxt --saverobotstxt:
useragent: "*"
allow:
- /
disallow:
- /private/
sitemap: https://yourdomain.com/sitemap.xml暫定日本語案: なしで it, Hexo produces no robots.txt at all — no sitemap pointer 向けに crawlers.
暫定日本語案: RSS — hexo-generator-feed: relevant 向けに aggregators と Google News 適格性;
暫定日本語案: John Mueller 含む RSS フィード on his own static サイト.
暫定日本語案: IndexNow — hexo-indexnow: Bing recommends pairing sitemaps とともに IndexNow 向けに
暫定日本語案: real-time, URL-level submission. Drop generated key file へ source/ so it
暫定日本語案: deploys as yourdomain.com/<key>.txt. Note この is 向けに Bing, Yandex, と others —
暫定日本語案: ない Google, which doesn’t 使用 IndexNow 向けに general ページ.
Permalink stability — abbrlink fix
暫定日本語案: デフォルト permalink has two SEO 問題: renaming Markdown file changes URL
暫定日本語案: (because slug comes から filename), と non-Latin タイトル (Chinese, emoji)
暫定日本語案: produce garbled URLs. hexo-abbrlink decouples URL から filename by writing
暫定日本語案: stable hash back へ front matter:
npm install hexo-abbrlink --savepermalink: posts/:abbrlink/
abbrlink:
alg: crc32 # crc16 or crc32
rep: hex # dec or hex暫定日本語案: あなた get something like /posts/3a9c2b1d/ その survives file renames, category
暫定日本語案: changes, と date edits. underlying rule stands either way: once URL is
暫定日本語案: published, don’t change it なしで 301 リダイレクト — rename なしで one destroys
暫定日本語案: link equity と any accumulated ランキング signals.
暫定日本語案: Two more permalink pitfalls worth knowing 前に あなた pick pattern:
- 暫定日本語案: Don’t 使用
:idtoken. Hexo documents post IDs as ない persistent 全体で 暫定日本語案: database cache reset — if あなた permalink pattern 含む:id, cache rebuild できる 暫定日本語案: silently change すべての post’s URL. Stick へ:title,:abbrlink, または another stable 暫定日本語案: token. - 暫定日本語案:
trailing_indexとtrailing_htmlare separate controls, ない one 設定. 暫定日本語案: Hexo’spretty_urlsconfig toggles them independently — one governs whether 暫定日本語案: trailingindex.htmlis stripped から generated links, other whether trailing 暫定日本語案: slash is 追加. If これらの don’t match どのように あなた host actually resolves URLs (some 暫定日本語案: hosts リダイレクト/postへ/post/, others don’t), あなた できる end up とともに internal 暫定日本語案: links, canonicals, と sitemap entries disagreeing とともに URL サーバー actually 暫定日本語案: serves.
NexT theme SEO configuration
暫定日本語案: NexT is 大半の-使用 Hexo theme, 設定 in _config.next.yml:
canonical: true # builds canonical from url: + page path
webmaster_tools:
google: VERIFICATION_STRING
bing: VERIFICATION_STRING
baidu: VERIFICATION_STRING
open_graph:
enable: true
twitter_card: summary_large_image暫定日本語案: ** NexT meta-説明 gap:** NexT does ない 自動 inject per-post
暫定日本語案: <meta name="description"> から front matter description:. あなた patch theme’s
暫定日本語案: head template へ fall back から page.description へ サイト 説明. この is
暫定日本語案: single 大半の 一般的な NexT SEO miss. (NexT does support canonical: true と built-in
暫定日本語案: Open Graph / Twitter Cards, so それらの at least 機能 once enabled.)
暫定日本語案: 向けに non-NexT themes, あなた usually 作成 または edit head partial へ emit og:title,
暫定日本語案: og:description, og:image, og:url, と twitter:card — support varies widely by
暫定日本語案: theme.
暫定日本語案: Who owns 各 tag いつ theme と plugin both emit it. theme’s built-in
暫定日本語案: Open Graph/canonical support と all-in-one plugin like hexo-seo (which
暫定日本語案: generates its own breadcrumb, Webサイト, と 記事 schema) できる both try へ write
暫定日本語案: 同じ tag. Turning both on produces duplicate または conflicting <meta> tags, canonicals,
暫定日本語案: または JSON-LD blocks in 同じ <head>. Pick one layer as owner 向けに 各 tag
暫定日本語案: category — theme または plugin, ない both — と disable corresponding feature on
暫定日本語案: other 前に あなた ship.
Category と tag ページ: duplicate-コンテンツ trap
暫定日本語案: Hexo auto-generates archive ページ 向けに すべての category と すべての tag, 各 filled とともに 暫定日本語案: post excerpts その また 表示される on posts themselves. At scale その’s hundreds of 暫定日本語案: thin ページ competing 向けに 同じ クエリ と diluting クロール attention. あなた options:
- 暫定日本語案:
sitemap: falseper archive (impractical at scale). - 暫定日本語案: Theme-level
noindexon category/tag archive templates. - 暫定日本語案: 保つ them インデックス登録 だけ if category is genuine, curated topic hub とともに real 暫定日本語案: value.
- 暫定日本語案: Self-referencing canonical on 各 paginated archive ページ (ページ 2 canonicalizes へ 暫定日本語案: itself, ない ページ 1).
暫定日本語案: One caveat on option 2: long-term noindex eventually 作る Google stop following
暫定日本語案: links on その ページ, so noindexing tag ページ できる reduce クロール of posts その are だけ
暫定日本語案: linked から それらの tags. 作る sure such posts are reachable some other way.
暫定日本語案: あなた route inventory is bigger than source/. Category, tag, archive, と
暫定日本語案: pagination ページ don’t come から Markdown files — Hexo’s generator API is 何
暫定日本語案: actually creates them, と themes または plugins できる register their own generators too.
暫定日本語案: その means crawlable URL surface できる silently expand beyond 何 あなた’d expect
暫定日本語案: から browsing あなた source/ folder. 後に installing または updating theme または plugin,
暫定日本語案: run hexo generate と diff route list in public/ rather than assuming あなた
暫定日本語案: know すべての URL Hexo is producing.
Structured データ / JSON-LD
暫定日本語案: Hexo injects no structured データ by デフォルト. Either 追加 BlogPosting JSON-LD block へ
暫定日本語案: あなた theme’s post template (headline, datePublished, dateModified, author,
暫定日本語案: publisher, url) または 使用 all-in-one plugin like hexo-seo その generates
暫定日本語案: breadcrumb, Webサイト, と 記事 schema 向けに あなた.
Core Web Vitals
暫定日本語案: Static output is fast, ただし themes できる undo その. NexT と many themes bundle large
暫定日本語案: JS/CSS と icon-font libraries (Font Awesome is frequent LCP/render-blocking
暫定日本語案: culprit). Audit とともに Lighthouse, then reach 向けに hexo-all-minifier (HTML/CSS/JS
暫定日本語案: compression at 構築 time), hexo-lazyload-image, と defer/async on third-party
暫定日本語案: scripts like analytics と ads.
Targeting Baidu (Chinese-audience サイト)
暫定日本語案: Baidu’s crawler handles JavaScript poorly, so Hexo’s static HTML removes one obstacle
暫定日本語案: へ Baidu discovery. 追加 baidu_site_verification in NexT, generate Baidu-format
暫定日本語案: sitemap とともに hexo-generator-baidu-sitemap, と push URLs actively とともに
暫定日本語案: hexo-submit-urls-to-search-engine. One hosting note: GitHub ページ is blocked in
暫定日本語案: mainland China — 使用 Gitee ページ, Cloudflare, または Chinese CDN 向けに Baidu トラフィック.
暫定日本語案: Treat その as crawlability advantage, ない guarantee. Static HTML doesn’t by itself 暫定日本語案: prove Baidu is discovering, インデックス登録, または ランキング あなた ページ — confirm actual クロール 暫定日本語案: activity と インデックス登録 status directly in Baidu Ziyuan (Baidu’s webmaster ツール) rather 暫定日本語案: than assuming static output alone secures visibility.
Deploying へ GitHub ページ — SEO gotchas
- 暫定日本語案: 設定
url:へ あなた live address (カスタム domain とともにhttps://) 前に 最初 暫定日本語案: deploy. - 暫定日本語案: Put
CNAMEfile insource/向けに カスタム domains so it isn’t reset on すべての 暫定日本語案:hexo deploy. - 暫定日本語案: Enforce HTTPS in repo 設定 → ページ 後に DNS propagates.
- 暫定日本語案: Prefer GitHub Actions workflow 超えて
hexo-deployer-gitへ 避ける CNAME-reset 暫定日本語案: 問題.
Hexo vs. Hugo vs. Jekyll vs. Astro, 向けに SEO
暫定日本語案: All four ship pure static HTML, so indexability floor is identical — there’s no 暫定日本語案: framework-level SEO disadvantage in Hexo. differences are operational: Hugo (Go) 暫定日本語案: 構築 far faster at large scale と has built-in sitemap; Jekyll is GitHub ページ 暫定日本語案: デフォルト; Astro ships zero JS by デフォルト via islands. Hexo’s edge is rich npm plugin 暫定日本語案: ecosystem と large Chinese-言語 community. コンテンツ quality, ない generator, 暫定日本語案: decides rankings — as Mueller said of switching generators, “Will your site’s SEO suddenly explode? No. Also No.”
暫定日本語案: 向けに cluster overview と other generators, see Static サイト 暫定日本語案: Generators; 向けに broader 暫定日本語案: rendering picture, see JavaScript SEO.
AI要約
暫定日本語案: condensed take on Advanced version:
- 暫定日本語案: Hexo is Node.js static サイト generator.
hexo generateoutputs pure static 暫定日本語案: HTML, so コンテンツ is in 最初 byte of レスポンス — no Web Rendering Service, no 暫定日本語案: Wave 2 rendering-queue delay. Crawlable<a href>links と cheap-へ-クロール CDN 暫定日本語案: files come 無料. - 暫定日本語案: Static HTML is crawlability floor, ない finished SEO. デフォルト themes ship no 暫定日本語案: sitemap, no robots.txt, no per-post meta 説明, no canonical, と no 暫定日本語案: structured データ.
- 暫定日本語案: 設定
_config.yml最初.url:is 大半の consequential 設定 — it 暫定日本語案: フィード canonicals, sitemap, RSS, と pagination; 誤った value breaks all of them. 暫定日本語案: Subdirectory deploys また needroot:設定. Pick cleanpermalink:(避ける 暫定日本語案::idtoken — it isn’t persistent 全体で cache reset) と 設定 暫定日本語案:meta_generator: false. theme’s own config できる’t override サイト-level 暫定日本語案:url/root/permalink, と safe-mode preview (--safe) disables すべての plugin 暫定日本語案: と script, so don’t 確認 SEO output there. - 暫定日本語案: Plugins do heavy lifting:
hexo-generator-sitemap(readslastmodから 暫定日本語案:updatedfield),hexo-generator-robotstxt,hexo-generator-feed,hexo-indexnow暫定日本語案: (Bing/Yandex, ない Google),hexo-abbrlink向けに stable permalinks. - 暫定日本語案: NexT theme: supports canonical + Open Graph, ただし does ない auto-print per-post 暫定日本語案: meta 説明 — template patch is 大半の 一般的な fix. If theme と SEO 暫定日本語案: plugin できる both emit 同じ tags, enable だけ one per tag category へ 避ける 暫定日本語案: duplicates.
- 暫定日本語案: Three traps: 誤った
url:; date-based デフォルト permalink その breaks links on 暫定日本語案: rename (決して change URL なしで 301); と auto-generated category/tag archives 暫定日本語案: その 作成 thin duplicate コンテンツ (noindex または canonicalize). それらの archive/tag/ 暫定日本語案: pagination routes come から Hexo’s generator API, ないsource/files — 暫定日本語案: theme/plugin update できる silently expand indexable URL surface, so diff 暫定日本語案:public/後に changes. - 暫定日本語案: Baidu: static output removes real obstacle (Baidu’s crawler handles JS 暫定日本語案: poorly), ただし it’s crawlability advantage, ない guarantee of インデックス登録 または 暫定日本語案: ランキング — confirm in Baidu Ziyuan. GitHub ページ is blocked in China — 使用 暫定日本語案: Gitee/Cloudflare/ Chinese CDN.
- 暫定日本語案: Vs. Hugo/Jekyll/Astro: 同じ indexability floor; Hexo’s edge is npm plugin 暫定日本語案: ecosystem と Chinese community. コンテンツ quality decides rankings, ない generator.
公式ドキュメント
暫定日本語案: 主要-ソース ドキュメント — から Hexo, 検索エンジン, と key plugins.
暫定日本語案: Hexo
- 暫定日本語案: Hexo ドキュメント — framework overview.
- 暫定日本語案: Configuration —
url,permalink,meta_generator, と rest of_config.yml. - 暫定日本語案: Permalinks — URL pattern variables と tradeoffs.
- 暫定日本語案: Front matter — per-post fields Hexo supports natively.
- 暫定日本語案: GitHub ページ deployment — 公式 deploy guide.
暫定日本語案: Plugins
- 暫定日本語案: hexo-generator-sitemap — 公式 sitemap plugin.
- 暫定日本語案: hexo-abbrlink — stable hash-based permalinks.
- 暫定日本語案: NexT theme SEO 設定 — canonical, webmaster verification, Open Graph.
暫定日本語案: 検索エンジン — rendering, links, sitemaps
- 暫定日本語案: JavaScript SEO basics — クロール → render → インデックス登録 phases static 構築 lets あなた skip 向けに コンテンツ.
- 暫定日本語案: Dynamic rendering (deprecated) — Google recommending static rendering instead.
- 暫定日本語案: 作る あなた links crawlable —
<a href>requirement Hexo satisfies by デフォルト. - 暫定日本語案: SEO Guide 向けに Web Developers — タイトル, 説明, canonicals, sitemaps, structured データ.
- 暫定日本語案: Bing — 保持 コンテンツ Discoverable とともに Sitemaps — XML preference,
lastmodaccuracy, と IndexNow.
出典からの引用
暫定日本語案: On—record statements から Google, Bing, と John Mueller その bear directly on 暫定日本語案: Hexo (static) サイト.
暫定日本語案: Google — static rendering is recommended path
- 暫定日本語案: “Dynamic rendering was a workaround and not a long-term solution for problems with JavaScript-generated content in search engines… Instead, we recommend that you use server-side rendering, static rendering, or hydration as a solution.” — Hexo produces static rendering. 暫定日本語案: ソース
- 暫定日本語案: “Server-side or pre-rendering is still a great idea because it makes your website faster for users and crawlers, and not all bots can run JavaScript.” 暫定日本語案: ソース
暫定日本語案: Bing — sitemaps と freshness
- 暫定日本語案: “XML remains the preferred format for sitemaps” — because it supports structured metadata like
lastmod向けに freshness assessment. 暫定日本語案: ソース - 暫定日本語案: On
lastmod: it “should reflect the true last modification time of the page content, not the sitemap file itself.” — Hexo gotcha そのupdatedfield 必要がある be kept 現在の. 暫定日本語案: ソース - 暫定日本語案: “By combining sitemaps for comprehensive site coverage with IndexNow for fast, URL-level submission, you provide the strongest foundation for keeping your content fresh, discoverable, and visible.” 暫定日本語案: ソース
暫定日本語案: Gary Illyes, Google — static サイト are cheap へ クロール
- 暫定日本語案: “If you are making expensive database calls, that’s going to cost the server a lot.” — static HTML から CDN 作る none. 暫定日本語案: Coverage
暫定日本語案: John Mueller — switching generators isn’t itself SEO win
- 暫定日本語案: “Will this change how your site appears in all search engines? Will your site’s SEO suddenly explode? No. Also No.” — コンテンツ quality, ない generator choice, drives rankings. 暫定日本語案: ソース
暫定日本語案: Note: これらの quotes are reproduced から linked 公式 ページ と 二次 暫定日本語案: coverage; confirm exact wording against live ソース 前に treating any relayed 暫定日本語案: quote as final.
Hexo SEO 確認
暫定日本語案: pass へ confirm Hexo サイト is 検索-friendly — 大半の of これらの are off by デフォルト:
- 暫定日本語案: [ ]
url:in_config.ymlis あなた live domain とともにhttps://(ない placeholder, 暫定日本語案: ないhttp://). Deploying へ subdirectory?root:is 設定 too. - 暫定日本語案: [ ] permalink pattern is chosen と won’t churn — ideally
:title/または 暫定日本語案:hexo-abbrlink向けに stable hashes.:idtoken is ない 使用 (it isn’t 暫定日本語案: persistent 全体で database cache reset). - 暫定日本語案: [ ] If both theme と SEO plugin できる emit canonical/OG/JSON-LD tags, exactly 暫定日本語案: one of them is enabled 向けに 各 tag category — ない both.
- 暫定日本語案: [ ]
meta_generator: false設定 へ drop Hexo fingerprint (optional ただし tidy). - 暫定日本語案: [ ]
hexo-generator-sitemapinstalled;sitemap.xmlgenerates と is submitted in 暫定日本語案: Google 検索 Console と Bing Webmaster ツール. - 暫定日本語案: [ ]
updated:front matter is kept 現在の so sitemaplastmodis accurate. - 暫定日本語案: [ ]
hexo-generator-robotstxtinstalled (または 手動robots.txtinsource/) 暫定日本語案: とともに sitemap pointer. - 暫定日本語案: [ ] 各 post has
description:, と theme actually prints 暫定日本語案:<meta name="description">(patch NexT if needed). - 暫定日本語案: [ ] Canonical tags are emitted と resolve へ live HTTPS URLs (NexT:
canonical: true). - 暫定日本語案: [ ] Open Graph / Twitter Card tags present (NexT built-in, または head-partial edit).
- 暫定日本語案: [ ]
BlogPostingJSON-LD 追加 (template snippet またはhexo-seoplugin). - 暫定日本語案: [ ] Category/tag archives handled — noindexed, canonicalized, または kept だけ as real 暫定日本語案: topic hubs (ない left as thin duplicates).
- 暫定日本語案: [ ] Paginated archive ページ self-canonicalize (ページ 2 → ページ 2, ない ページ 1).
- 暫定日本語案: [ ] Theme JS/CSS audited in Lighthouse; minifier + lazy-load 画像 plugins 暫定日本語案: considered.
- 暫定日本語案: [ ] GitHub ページ:
CNAMEinsource/, HTTPS enforced, deploy via Actions へ 避ける 暫定日本語案: CNAME reset. - 暫定日本語案: [ ] Baidu サイト: ない on GitHub ページ; Baidu verification + Baidu sitemap + URL push 暫定日本語案: 設定.
- 暫定日本語案: [ ] No URL ever changed なしで 301 リダイレクト in place.
Hexo SEO — cheat sheet
暫定日本語案: On by デフォルト vs. あなた 必要がある 追加 it
| SEO feature | Hexo デフォルト | どのように へ get it |
|---|---|---|
| Static HTML / crawlable コンテンツ | Yes | hexo generate |
Crawlable <a href> links | Yes | theme templates |
| XML sitemap | No | hexo-generator-sitemap |
| robots.txt | No | hexo-generator-robotstxt または 手動 file |
| RSS フィード | No | hexo-generator-feed |
| Per-post meta 説明 | No (theme-dependent) | description: + theme patch |
| Canonical tag | No (theme-dependent) | NexT canonical: true |
| Open Graph / Twitter Card | No (theme-dependent) | NexT built-in または head-partial edit |
| Structured データ (JSON-LD) | No | template snippet または hexo-seo plugin |
| Stable permalinks | No (date/filename based) | hexo-abbrlink |
| IndexNow submission | No | hexo-indexnow (Bing/Yandex, ない Google) |
暫定日本語案: Key _config.yml 設定
| 設定 | なぜ it matters |
|---|---|
url: | Base 向けに canonical, sitemap, RSS, pagination — 誤った value breaks all of them |
root: | Subdirectory path 向けに subdirectory deploy — 必要 alongside url: または root-relative links break |
permalink: | デフォルト is date-based; :title/ is cleaner; 決して change 後に publishing; 避ける non-persistent :id token |
meta_generator: false | Removes <meta name="generator" content="Hexo"> tag |
暫定日本語案: Plugin install commands
npm install hexo-generator-sitemap --save
npm install hexo-generator-robotstxt --save
npm install hexo-generator-feed --save
npm install hexo-abbrlink --save
npm install hexo-indexnow --save暫定日本語案: Fast facts
- 暫定日本語案: Hexo output skips Google’s Wave 2 rendering queue — コンテンツ is in 最初 fetch.
- 暫定日本語案:
lastmodcomes からupdatedfield (falls back へdate) — 保つ it 現在の. - 暫定日本語案:
<meta name="keywords">is ignored by Google (since 2009) — organizational だけ. - 暫定日本語案: Category/tag archives are auto-generated と thin → noindex または canonicalize.
- 暫定日本語案: Baidu できる’t クロール JS well → static Hexo is advantage, ただし GitHub ページ is blocked 暫定日本語案: in China.
構築, serve, と verify Hexo サイト
暫定日本語案: basic Hexo 構築 loop is 同じ everywhere; shell differs.
暫定日本語案: macOS / Linux
# install dependencies and the SEO plugins
npm install
npm install hexo-generator-sitemap hexo-generator-robotstxt hexo-generator-feed --save
# clean stale output, then build the static HTML
npx hexo clean && npx hexo generate
# preview locally before deploying
npx hexo server
# confirm the sitemap and robots.txt were actually generated
ls public/sitemap.xml public/robots.txt暫定日本語案: Windows (PowerShell)
# install dependencies and the SEO plugins
npm install
npm install hexo-generator-sitemap hexo-generator-robotstxt hexo-generator-feed --save
# clean stale output, then build the static HTML
npx hexo clean; npx hexo generate
# preview locally before deploying
npx hexo server
# confirm the sitemap and robots.txt were actually generated
Get-ChildItem public\sitemap.xml, public\robots.txtConfirm コンテンツ is in raw HTML (ない JS-rendered)
暫定日本語案: whole point of Hexo is その コンテンツ is already in HTML. Verify it by 確認 暫定日本語案: その あなた post text 表示される in raw レスポンス, 前に any JavaScript runs.
暫定日本語案: macOS / Linux
# fetch the raw HTML and search for a phrase from your post body
curl -s https://yourdomain.com/your-post/ | grep -i "a sentence from your post"
# confirm the canonical tag points at the live HTTPS URL
curl -s https://yourdomain.com/your-post/ | grep -i 'rel="canonical"'暫定日本語案: Windows (PowerShell)
# fetch the raw HTML and search for a phrase from your post body
(Invoke-WebRequest https://yourdomain.com/your-post/).Content | Select-String "a sentence from your post"
# confirm the canonical tag points at the live HTTPS URL
(Invoke-WebRequest https://yourdomain.com/your-post/).Content | Select-String 'rel="canonical"'暫定日本語案: If phrase 表示 up in curl/Invoke-WebRequest output, it’s in static HTML
暫定日本語案: と Google sees it on Wave 1 — exactly 何 あなた want.
ツール 向けに Hexo SEO
暫定日本語案: Hexo plugins ( SEO toolkit)
- 暫定日本語案: hexo-generator-sitemap — 公式 XML sitemap generator; reads
lastmod暫定日本語案: からupdatedfield. - 暫定日本語案: hexo-generator-robotstxt — generates
robots.txtとともに sitemap pointer. - 暫定日本語案: hexo-generator-フィード — RSS/Atom フィード 向けに aggregators と Google News 適格性.
- 暫定日本語案: hexo-abbrlink — stable, hash-based permalinks その survive file renames.
- 暫定日本語案: hexo-indexnow / hexo-submit-urls-へ-検索-engine — push changed URLs へ Bing 暫定日本語案: (IndexNow) と Baidu respectively.
- 暫定日本語案: hexo-all-minifier / hexo-lazyload-画像 — Core Web Vitals helpers.
- 暫定日本語案: hexo-seo — all-in-one option とともに structured-データ generation.
暫定日本語案: テスト と 監視
- 暫定日本語案: Google 検索 Console — submit sitemap, inspect URLs, watch インデックス登録.
- 暫定日本語案: Bing Webmaster ツール — submit sitemap, 設定 IndexNow, run サイト Scan.
- 暫定日本語案: Baidu Webmaster (Ziyuan) — verification と URL push 向けに Chinese-audience サイト.
- 暫定日本語案: Lighthouse / PageSpeed Insights — audit theme JS/CSS 向けに Core Web Vitals 暫定日本語案: regressions.
- 暫定日本語案: View ソース / curl — confirm コンテンツ, canonical, と meta 説明 are in 暫定日本語案: raw HTML (see Scripts tab).
Hexo SEO mistakes へ 避ける
暫定日本語案: Concrete mistakes 人々 actually 作る いつ それら 設定 up または migrate Hexo サイト — 暫定日本語案: prevention, ない diagnosis (see Troubleshooting tab 向けに その).
Leaving url: as placeholder または on http://
暫定日本語案: Publishing とともに url: http://yoursite.com still 設定 へ scaffold デフォルト または
暫定日本語案: 誤った protocol is なぜ it’s 誤った: canonical tags, sitemap, RSS links, と
暫定日本語案: pagination all 構築 off この one value, so すべての one of them silently points at
暫定日本語案: 誤った address. 何 へ do instead: 設定 url: へ あなた real live domain とともに https://
暫定日本語案: 前に あなた 最初 hexo generate, と re-確認 it any time あなた move domains.
Renaming post file (または changing its slug) とともに no リダイレクト
暫定日本語案: デフォルト permalink derives URL から post’s filename と date, so renaming
暫定日本語案: Markdown file または editing date changes live URL. なぜ it’s 誤った: すべての
暫定日本語案: inbound link と any accumulated ランキング signal on 古い URL is 現在 pointing at
404. 暫定日本語案: 何 へ do instead: switch へ hexo-abbrlink 向けに stable hash-based permalink
暫定日本語案: 前に あなた have links へ lose, と if あなた ever 必要がある change published URL, 追加 301
暫定日本語案: リダイレクト at あなた host または CDN.
Shipping なしで hexo-generator-sitemap と hexo-generator-robotstxt
暫定日本語案: Assuming static サイト generator “just handles” crawler basics is なぜ it’s 誤った:
暫定日本語案: デフォルト Hexo install produces neither sitemap nor robots.txt — there’s no
暫定日本語案: sitemap pointer 向けに crawlers へ find. 何 へ do instead: install both plugins,
暫定日本語案: confirm public/sitemap.xml と public/robots.txt exist 後に hexo generate, と
暫定日本語案: submit sitemap in 検索 Console と Bing Webmaster ツール.
Leaving category と tag archives open へ インデックス登録 at scale
暫定日本語案: Letting Hexo’s auto-generated category/tag ページ accumulate as post count grows is 暫定日本語案: なぜ it’s 誤った: 各 archive is filled とともに post excerpts その duplicate posts 暫定日本語案: themselves, so あなた end up とともに hundreds of thin ページ competing 向けに 同じ クエリ 暫定日本語案: と diluting クロール attention. 何 へ do instead: noindex archive templates, 暫定日本語案: self-canonicalize paginated archive ページ, または 保つ category インデックス登録 だけ いつ it’s 暫定日本語案: genuine, curated topic hub.
Assuming hexo-indexnow covers Google too
暫定日本語案: Installing IndexNow と expecting it へ speed up Google インデックス登録 is なぜ it’s 誤った: 暫定日本語案: IndexNow is Bing/Yandex/Baidu protocol — Google doesn’t consume it 向けに general 暫定日本語案: ページ, so あなた still need submitted sitemap 向けに Google-side discovery. 何 へ do 暫定日本語案: instead: 使用 IndexNow 向けに Bing/Yandex freshness と rely on sitemap plus normal 暫定日本語案: クロール 向けに Google.
Deploying へ GitHub ページ なしで durable CNAME
暫定日本語案: Relying on hexo-deployer-git alone 向けに カスタム domain is なぜ it’s 誤った: some
暫定日本語案: deploy paths reset または omit CNAME file, which silently drops あなた カスタム domain
暫定日本語案: back へ デフォルト github.io address (と breaks HTTPS enforcement). 何 へ do
暫定日本語案: instead: 保つ CNAME file in source/ so it ships とともに すべての 構築, と prefer
暫定日本語案: GitHub Actions workflow その publishes built public/ folder intact.
一般的な Hexo SEO 問題
暫定日本語案: Symptom-最初 lookup 向けに 問題 あなた already have on Hexo サイト.
Sitemap.xml returns 404 後に deploy
暫定日本語案: Symptom: https://yoursite.com/sitemap.xml 404s, または 検索 Console レポート it
暫定日本語案: couldn’t fetch sitemap.
暫定日本語案: Likely cause: hexo-generator-sitemap isn’t installed, isn’t listed in
暫定日本語案: _config.yml, または public/ 構築 output wasn’t fully deployed ( partial upload
暫定日本語案: または deploy 手順 その excludes dotfiles/XML).
暫定日本語案: Fix + 確認: run npm install hexo-generator-sitemap --save, 追加 sitemap:
暫定日本語案: block へ _config.yml, then run hexo clean && hexo generate と confirm
暫定日本語案: public/sitemap.xml exists locally 前に deploying. 後に redeploying, fetch
暫定日本語案: live URL directly (curl -I https://yoursite.com/sitemap.xml) と confirm 200.
Google 検索 Console 表示 ページ as “Discovered — currently not indexed”
暫定日本語案: Symptom: Posts are crawlable と load fine in ブラウザー, ただし 検索 Console’s 暫定日本語案: ページ インデックス登録 レポート leaves them in “Discovered, not indexed” 向けに weeks.
暫定日本語案: Likely cause: thin category/tag archive ページ are eating disproportionate share 暫定日本語案: of クロール attention, または posts themselves are thin/duplicative of archives その 暫定日本語案: excerpt them.
暫定日本語案: Fix + 確認: noindex または canonicalize auto-generated category/tag archives (see 暫定日本語案: anti-patterns entry above), リクエスト インデックス登録 on handful of affected URLs in 暫定日本語案: 検索 Console, と re-確認 ページ インデックス登録 レポート 後に few days へ couple of 暫定日本語案: weeks — この isn’t immediate signal.
Meta 説明 isn’t 表示 up in 検索 snippets
暫定日本語案: Symptom: あなた post has description: field in front matter, ただし Google 表示
暫定日本語案: auto-generated snippet instead, または view-source: 表示 no
暫定日本語案: <meta name="description"> tag at all.
暫定日本語案: Likely cause: theme’s head template 決して prints page.description — この is
暫定日本語案: single 大半の 一般的な NexT gap, と it affects other themes too.
暫定日本語案: Fix + 確認: patch theme’s head partial へ output
<meta name="description" content="{{ page.description or config.description }}">
暫定日本語案: (NexT-style templating), rebuild, then curl -s https://yoursite.com/your-post/ | grep 暫定日本語案: -i 'name="description"' へ confirm tag is present in raw HTML 前に あなた wait
暫定日本語案: on snippet refresh.
Canonical tag is 不足している または points at 誤った URL
暫定日本語案: Symptom: curling post 表示 no rel="canonical" tag, または it resolves へ http://
暫定日本語案: instead of https://, または へ stale domain.
暫定日本語案: Likely cause: theme’s canonical feature isn’t enabled (NexT needs
暫定日本語案: canonical: true in _config.next.yml), または url: in main _config.yml is 誤った
暫定日本語案: — canonical tags 構築 off その base URL.
暫定日本語案: Fix + 確認: confirm url: is 正しい 最初, enable theme’s canonical option,
暫定日本語案: rebuild, と 確認 とともに curl -s https://yoursite.com/your-post/ | grep -i 暫定日本語案: 'rel="canonical"' — value すべき exactly match live HTTPS URL.
カスタム domain reverts へ username.github.io 後に deploy
暫定日本語案: Symptom: 機能 カスタム domain on GitHub ページ stops resolving 後に routine
暫定日本語案: hexo deploy, falling back へ デフォルト github.io address.
暫定日本語案: Likely cause: deploy プロセス overwrote または omitted CNAME file その GitHub
暫定日本語案: ページ reads へ know あなた カスタム domain.
暫定日本語案: Fix + 確認: put (または restore) CNAME file containing just あなた domain in
暫定日本語案: source/ so it’s copied へ すべての 構築, redeploy, と confirm in repo’s
暫定日本語案: 設定 → ページ その カスタム domain field still 表示 あなた domain とともに HTTPS
暫定日本語案: enforced.
Baidu isn’t インデックス登録 サイト at all
暫定日本語案: Symptom: Baidu Ziyuan (Baidu Webmaster) 表示 little へ no クロール activity even 暫定日本語案: though Google indexes サイト fine.
暫定日本語案: Likely cause: サイト is hosted on GitHub ページ, which is blocked in mainland 暫定日本語案: China, so Baidu’s crawler 多くの場合 できる’t reach it consistently.
暫定日本語案: Fix + 確認: move Baidu-facing hosting へ Gitee ページ, Cloudflare, または Chinese
暫定日本語案: CDN, 追加 Baidu サイト verification と Baidu-format sitemap
暫定日本語案: (hexo-generator-baidu-sitemap), then watch Baidu Ziyuan クロール-frequency レポート
暫定日本語案: 超えて following weeks 向けに renewed activity.
テスト yourself: Hexo SEO
暫定日本語案: Five quick questions on doing SEO とともに Hexo static サイト generator. Pick answer 向けに 各, then 確認.
時間を使う価値のあるリソース
暫定日本語案: My related writing
- 暫定日本語案: JavaScript SEO: Definitive Guide — rendering, DOM parity, と なぜ static/pre-rendered output is low-risk end of spectrum.
- 暫定日本語案: Beginner’s Guide へ Technical SEO — どこ rendering architecture fits in bigger picture.
暫定日本語案: My speaking
- 暫定日本語案: どのように 検索 機能 (SlideShare) — my walkthrough of クロール, rendering, インデックス登録, と ランキング. (My standing disclaimer applies: “This is my understanding of systems… not going to be 100% complete or accurate.”)
暫定日本語案: から around industry
- 暫定日本語案: Hexo ドキュメント — 公式 docs 向けに config, permalinks, front matter, と deployment.
- 暫定日本語案: hexo-generator-sitemap — 公式 sitemap plugin README.
- 暫定日本語案: NexT theme SEO 設定 — canonical, webmaster verification, と Open Graph 向けに 大半の-使用 theme.
- 暫定日本語案: Google — JavaScript SEO basics — クロール → render → インデックス登録 phases static 構築 lets あなた skip 向けに コンテンツ.
- 暫定日本語案: Bing — 保持 コンテンツ Discoverable とともに Sitemaps — XML preference,
lastmodaccuracy, と IndexNow. - 暫定日本語案: John Mueller — Some design decisions — どのように he runs his own static blog (sitemap + RSS + 記事 structured データ), と なぜ switching generators isn’t itself SEO win.
変更履歴
2026年7月18日に更新。
編集概要と記録された変更の詳細。変更の詳細
-
変更の詳細な注記は現在英語でのみ提供されています。
-
変更の詳細な注記は現在英語でのみ提供されています。
-
変更の詳細な注記は現在英語でのみ提供されています。
-
変更の詳細な注記は現在英語でのみ提供されています。
-
変更の詳細な注記は現在英語でのみ提供されています。
完全な比較は利用できません — この改訂の以前のスナップショットがアーカイブされていません。