{"id":1393,"date":"2024-06-02T22:37:28","date_gmt":"2024-06-02T22:37:28","guid":{"rendered":""},"modified":"2024-06-05T06:12:19","modified_gmt":"2024-06-04T22:12:19","slug":"vuepress-%e5%8d%9a%e5%ae%a2%e4%b9%8b-seo-%e4%bc%98%e5%8c%96%ef%bc%88%e4%b8%89%ef%bc%89%e6%a0%87%e9%a2%98%e3%80%81%e9%93%be%e6%8e%a5%e4%bc%98%e5%8c%96","status":"publish","type":"post","link":"https:\/\/www.lccc.top\/?p=1393","title":{"rendered":"VuePress \u535a\u5ba2\u4e4b SEO \u4f18\u5316\uff08\u4e09\uff09\u6807\u9898\u3001\u94fe\u63a5\u4f18\u5316"},"content":{"rendered":"<td class=\"d-block comment-body markdown-body  js-comment-body\">\n<h2 dir=\"auto\">\u524d\u8a00<\/h2>\n<p dir=\"auto\">\u5728 <a href=\"https:\/\/github.com\/mqyqingfeng\/Blog\/issues\/235\" data-hovercard-type=\"issue\" data-hovercard-url=\"\/mqyqingfeng\/Blog\/issues\/235\/hovercard\">\u300a\u4e00\u7bc7\u5e26\u4f60\u7528 VuePress + Github Pages \u642d\u5efa\u535a\u5ba2\u300b<\/a>\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 VuePress \u642d\u5efa\u4e86\u4e00\u4e2a\u535a\u5ba2\uff0c\u6700\u7ec8\u7684\u6548\u679c\u67e5\u770b\uff1a<a href=\"http:\/\/ts.yayujs.com\/\" rel=\"nofollow\">TypeScript \u4e2d\u6587\u6587\u6863<\/a>\u3002<\/p>\n<p dir=\"auto\">\u672c\u7bc7\u8bb2\u8bb2 SEO \u4e2d\u7684\u4e00\u4e9b\u7ec6\u8282\u4f18\u5316\u3002<\/p>\n<h2 dir=\"auto\">1. \u8bbe\u7f6e\u5168\u5c40\u7684 title\u3001description\u3001keywords<\/h2>\n<div class=\"highlight highlight-source-js notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"\/\/ config.js\nmodule.exports = {\n    title: &quot;title&quot;,\n    description: 'description',\n    head: [\n        ['meta', { name: 'keywords', content: 'keywords'}]\n    ]\n}\"><\/p>\n<pre class=\"notranslate\"><span class=\"pl-c\">\/\/ config.js<\/span>\n<span class=\"pl-smi\">module<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-c1\">exports<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-kos\">{<\/span>\n    <span class=\"pl-c1\">title<\/span>: <span class=\"pl-s\">\"title\"<\/span><span class=\"pl-kos\">,<\/span>\n    <span class=\"pl-c1\">description<\/span>: <span class=\"pl-s\">'description'<\/span><span class=\"pl-kos\">,<\/span>\n    <span class=\"pl-c1\">head<\/span>: <span class=\"pl-kos\">[<\/span>\n        <span class=\"pl-kos\">[<\/span><span class=\"pl-s\">'meta'<\/span><span class=\"pl-kos\">,<\/span> <span class=\"pl-kos\">{<\/span> <span class=\"pl-c1\">name<\/span>: <span class=\"pl-s\">'keywords'<\/span><span class=\"pl-kos\">,<\/span> <span class=\"pl-c1\">content<\/span>: <span class=\"pl-s\">'keywords'<\/span><span class=\"pl-kos\">}<\/span><span class=\"pl-kos\">]<\/span>\n    <span class=\"pl-kos\">]<\/span>\n<span class=\"pl-kos\">}<\/span><\/pre>\n<\/div>\n<p dir=\"auto\">\u5173\u4e8e\u6807\u9898\u5982\u4f55\u5199\uff0c\u53c2\u7167\u8001\u65e7\u7684 <a href=\"https:\/\/ziyuan.baidu.com\/college\/courseinfo?id=193&amp;page=3\" rel=\"nofollow\">\u300a\u767e\u5ea6\u641c\u7d22\u5f15\u64ce\u4f18\u5316\u6307\u53572.0\u300b<\/a>:<\/p>\n<blockquote>\n<p dir=\"auto\">\u6211\u4eec\u5efa\u8bae\u7f51\u9875\u6807\u9898\u53ef\u4ee5\u8fd9\u6837\u63cf\u8ff0\uff1a<\/p>\n<p dir=\"auto\">\u9996\u9875\uff1a\u7f51\u7ad9\u540d\u79f0 \u6216\u8005 \u7f51\u7ad9\u540d\u79f0_\u63d0\u4f9b\u670d\u52a1\u4ecb\u7ecdor\u4ea7\u54c1\u4ecb\u7ecd<\/p>\n<p dir=\"auto\">\u9891\u9053\u9875\uff1a\u9891\u9053\u540d\u79f0_\u7f51\u7ad9\u540d\u79f0<\/p>\n<p dir=\"auto\">\u6587\u7ae0\u9875\uff1a\u6587\u7ae0title_\u9891\u9053\u540d\u79f0_\u7f51\u7ad9\u540d\u79f0<\/p>\n<\/blockquote>\n<p dir=\"auto\">\u4e5f\u53ef\u4ee5\u53c2\u8003\u8fd9\u7bc7<a href=\"https:\/\/ziyuan.baidu.com\/college\/articleinfo?id=2726\" rel=\"nofollow\">\u300a\u767e\u5ea6\u641c\u7d22\u7f51\u9875\u6807\u9898\u89c4\u8303\u300b<\/a>\u91cc\u7684\u89c4\u8303\u3002<\/p>\n<p dir=\"auto\">\u5173\u4e8e\u63cf\u8ff0\uff1a<\/p>\n<blockquote>\n<p dir=\"auto\">Meta description\u662f\u5bf9\u7f51\u9875\u5185\u5bb9\u7684\u7cbe\u7ec3\u6982\u62ec\u3002\u5982\u679cdescription\u63cf\u8ff0\u4e0e\u7f51\u9875\u5185\u5bb9\u76f8\u7b26\uff0c\u767e\u5ea6\u4f1a\u628adescription\u5f53\u505a\u6458\u8981\u7684\u9009\u62e9\u76ee\u6807\u4e4b\u4e00\uff0c\u4e00\u4e2a\u597d\u7684description\u4f1a\u5e2e\u52a9\u7528\u6237\u66f4\u65b9\u4fbf\u7684\u4ece\u641c\u7d22\u7ed3\u679c\u4e2d\u5224\u65ad\u4f60\u7684\u7f51\u9875\u5185\u5bb9\u662f\u5426\u548c\u9700\u6c42\u76f8\u7b26\u3002Meta description\u4e0d\u662f\u6743\u503c\u8ba1\u7b97\u7684\u53c2\u8003\u56e0\u7d20\uff0c\u8fd9\u4e2a\u6807\u7b7e\u5b58\u5728\u4e0e\u5426\u4e0d\u5f71\u54cd\u7f51\u9875\u6743\u503c\uff0c\u53ea\u4f1a\u7528\u505a\u641c\u7d22\u7ed3\u679c\u6458\u8981\u7684\u4e00\u4e2a\u9009\u62e9\u76ee\u6807\u3002<\/p>\n<\/blockquote>\n<p dir=\"auto\">\u5173\u4e8e\u5173\u952e\u8bcd\uff0c\u6ce8\u610f keywords \u4f7f\u7528\u82f1\u6587\u9017\u53f7\u5206\u9694\uff0c\u4e2d\u6587\u9017\u53f7\u5219\u4f1a\u88ab\u8ba4\u4e3a\u662f\u957f\u53e5\u3002<\/p>\n<p dir=\"auto\">\u6211\u4eec\u76f4\u63a5\u770b\u4e00\u4e2a\u767e\u5ea6\u767e\u79d1\u8bcd\u6761\u7684\u8bbe\u7f6e\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/73469c5d0c6e469878a32d7c513d4e6ff27b55dc.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/73469c5d0c6e469878a32d7c513d4e6ff27b55dc.jpg\" alt=\"image.png\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/6a7fd9ad3bdb4678b7b425dbabbabc27~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<h2 dir=\"auto\">2. \u81ea\u5b9a\u4e49\u9875\u9762 title\u3001description\u3001keywords<\/h2>\n<p dir=\"auto\">\u901a\u8fc7 <a href=\"https:\/\/vuepress.vuejs.org\/zh\/guide\/frontmatter.html\" rel=\"nofollow\">Front Matter<\/a> \u81ea\u5b9a\u4e49\uff1a<\/p>\n<div class=\"highlight highlight-source-js notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"---\ntitle: title\ndescription: description\nmeta:\n  - name: keywords\n    content: super duper SEO\n---\"><\/p>\n<pre class=\"notranslate\"><span class=\"pl-c1\">--<\/span><span class=\"pl-c1\">-<\/span>\n<span class=\"pl-s1\">title<\/span>: <span class=\"pl-s1\">title<\/span>\ndescription: <span class=\"pl-s1\">description<\/span>\nmeta:\n  <span class=\"pl-c1\">-<\/span> <span class=\"pl-s1\">name<\/span>: <span class=\"pl-s1\">keywords<\/span>\n    content: <span class=\"pl-smi\">super<\/span> <span class=\"pl-s1\">duper<\/span> <span class=\"pl-c1\">SEO<\/span>\n<span class=\"pl-c1\">--<\/span><span class=\"pl-c1\">-<\/span><\/pre>\n<\/div>\n<h2 dir=\"auto\">3. \u56fe\u7247\u6dfb\u52a0 alt \u5c5e\u6027<\/h2>\n<p dir=\"auto\">\u6839\u636e Google \u7684<a href=\"https:\/\/developers.google.com\/search\/docs\/beginner\/seo-starter-guide?hl=zh-cn#usealtattribute\" rel=\"nofollow\">\u65b0\u624b SEO \u6307\u5357<\/a>\uff1a<\/p>\n<blockquote>\n<p dir=\"auto\">\u4f7f\u7528 alt \u5c5e\u6027<\/p>\n<p dir=\"auto\">\u4e3a\u56fe\u7247\u63d0\u4f9b\u8bf4\u660e\u6027\u6587\u4ef6\u540d\u548c alt \u5c5e\u6027\u8bf4\u660e\u3002alt \u5c5e\u6027\u4f7f\u60a8\u80fd\u591f\u4e3a\u56fe\u7247\u6307\u5b9a\u66ff\u4ee3\u6587\u672c\uff0c\u5728\u56fe\u7247\u7531\u4e8e\u67d0\u79cd\u539f\u56e0\u4e0d\u80fd\u663e\u793a\u65f6\u8d77\u5230\u6551\u573a\u7684\u4f5c\u7528\u3002<\/p>\n<p dir=\"auto\">\u4e3a\u4ec0\u4e48\u4f7f\u7528\u6b64\u5c5e\u6027\uff1f\u5982\u679c\u7528\u6237\u4f7f\u7528\u5c4f\u5e55\u9605\u8bfb\u5668\u7b49\u8f85\u52a9\u6280\u672f\u67e5\u770b\u60a8\u7684\u7f51\u7ad9\uff0c\u5219 alt \u5c5e\u6027\u7684\u5185\u5bb9\u4f1a\u63d0\u4f9b\u5173\u4e8e\u7167\u7247\u7684\u4fe1\u606f\u3002<\/p>\n<p dir=\"auto\">\u53e6\u4e00\u4e2a\u539f\u56e0\u662f\uff0c\u5982\u679c\u60a8\u5c06\u56fe\u7247\u7528\u4f5c\u94fe\u63a5\uff0c\u5219\u8be5\u56fe\u7247\u7684\u66ff\u4ee3\u6587\u672c\u4f1a\u7b49\u540c\u4e8e\u6587\u5b57\u94fe\u63a5\u7684\u5b9a\u4f4d\u6587\u5b57\u3002\u4f46\u662f\uff0c\u5982\u679c\u6587\u5b57\u94fe\u63a5\u53ef\u4ee5\u8d77\u5230\u76f8\u540c\u7684\u4f5c\u7528\uff0c\u6211\u4eec\u5efa\u8bae\u4e0d\u8981\u5728\u7f51\u7ad9\u7684\u5bfc\u822a\u4e2d\u4f7f\u7528\u592a\u591a\u56fe\u7247\u4f5c\u4e3a\u94fe\u63a5\u3002\u6700\u540e\uff0c\u4f18\u5316\u56fe\u7247\u6587\u4ef6\u540d\u548c\u66ff\u4ee3\u6587\u672c\u53ef\u4f7f\u56fe\u7247\u641c\u7d22\u9879\u76ee\uff08\u5982 Google \u56fe\u7247\uff09\u66f4\u597d\u5730\u7406\u89e3\u60a8\u7684\u56fe\u7247\u3002<\/p>\n<\/blockquote>\n<h2 dir=\"auto\">4. \u7cbe\u7b80 url<\/h2>\n<p dir=\"auto\">\u53c2\u7167<a href=\"https:\/\/ziyuan.baidu.com\/college\/courseinfo?id=193&amp;page=3\" rel=\"nofollow\">\u300a\u767e\u5ea6\u641c\u7d22\u5f15\u64ce\u4f18\u5316\u6307\u53572.0\u300b<\/a>\uff1a<\/p>\n<blockquote>\n<p dir=\"auto\">URL\u5c3d\u91cf\u77ed\uff0c\u957fURL\u4e0d\u4ec5\u4e0d\u7f8e\u89c2\uff0c\u7528\u6237\u8fd8\u5f88\u96be\u4ece\u4e2d\u83b7\u53d6\u989d\u5916\u6709\u7528\u7684\u4fe1\u606f\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u77edurl\u8fd8\u6709\u52a9\u4e8e\u51cf\u5c0f\u9875\u9762\u4f53\u79ef\uff0c\u52a0\u5feb\u7f51\u9875\u6253\u5f00\u901f\u5ea6\uff0c\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<\/blockquote>\n<p dir=\"auto\">\u53c2\u7167 Google \u641c\u7d22\u4e2d\u5fc3\u7684<a href=\"https:\/\/developers.google.com\/search\/docs\/beginner\/seo-starter-guide?hl=zh_cn#simpleurlsconveyinfo\" rel=\"nofollow\">\u300aSEO \u65b0\u624b\u6307\u5357\u300b<\/a>\uff1a<\/p>\n<blockquote>\n<p dir=\"auto\">\u7b80\u6d01\u7f51\u5740\u6613\u4e8e\u4f20\u8fbe\u5185\u5bb9\u4fe1\u606f<\/p>\n<p dir=\"auto\">\u4e3a\u7f51\u7ad9\u4e0a\u7684\u6587\u6863\u521b\u5efa\u63cf\u8ff0\u51c6\u786e\u7684\u7c7b\u522b\u548c\u6587\u4ef6\u540d\uff0c\u4e0d\u4ec5\u53ef\u4ee5\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u7ec4\u7ec7\u7f51\u7ad9\uff0c\u800c\u4e14\u53ef\u4ee5\u4e3a\u5e0c\u671b\u94fe\u63a5\u5230\u60a8\u7684\u5185\u5bb9\u7684\u7528\u6237\u521b\u5efa\u66f4\u7b80\u5355\u3001\u6613\u4e8e\u4f7f\u7528\u7684\u7f51\u5740\u3002\u5982\u679c\u7f51\u5740\u6781\u4e3a\u5197\u957f\u3001\u542b\u4e49\u6a21\u7cca\uff0c\u5e76\u4e14\u5305\u542b\u5f88\u5c11\u7684\u53ef\u8bc6\u522b\u5b57\u8bcd\uff0c\u8bbf\u95ee\u8005\u53ef\u80fd\u4f1a\u671b\u800c\u5374\u6b65\u3002<\/p>\n<p dir=\"auto\">\u4e0b\u9762\u7684\u7f51\u5740\u53ef\u80fd\u4f1a\u9020\u6210\u56f0\u60d1\u4e14\u4e0d\u6613\u4e8e\u4f7f\u7528\uff1a<br \/>\n<a href=\"https:\/\/www.brandonsbaseballcards.com\/folder1\/22447478\/x2\/14032015.html\" rel=\"nofollow\">https:\/\/www.brandonsbaseballcards.com\/folder1\/22447478\/x2\/14032015.html<\/a><\/p>\n<p dir=\"auto\">\u5982\u679c\u60a8\u7684\u7f51\u5740\u6709\u660e\u786e\u7684\u542b\u4e49\uff0c\u5219\u8be5\u7f51\u5740\u5728\u4e0d\u540c\u4e0a\u4e0b\u6587\u4e2d\u90fd\u53ef\u80fd\u4f1a\u66f4\u5b9e\u7528\u4e14\u66f4\u6613\u4e8e\u7406\u89e3\u3002<br \/>\n<a href=\"https:\/\/www.brandonsbaseballcards.com\/article\/ten-rarest-baseball-cards.html\" rel=\"nofollow\">https:\/\/www.brandonsbaseballcards.com\/article\/ten-rarest-baseball-cards.html<\/a><\/p>\n<\/blockquote>\n<p dir=\"auto\">\u50cf\u6211\u6587\u6863\u7684\u5730\u5740\u662f\uff1a<a href=\"https:\/\/ts.yayujs.com\/learn-typescript\/handbook\/TheBasics.html\" rel=\"nofollow\">https:\/\/ts.yayujs.com\/learn-typescript\/handbook\/TheBasics.html<\/a><\/p>\n<p dir=\"auto\">\u5176\u5b9e\u5176\u4e2d\u7684 learn-typescript \u5c31\u662f\u6ca1\u6709\u5fc5\u8981\u7684\uff0c\u4e4b\u6240\u4ee5\u4f1a\u6709\u8fd9\u4e2a\uff0c\u662f\u56e0\u4e3a\u4e4b\u524d\u4f7f\u7528 GitHub Pages\uff0c\u8fd9\u662f\u6211\u5bf9\u5e94\u7684 GitHub \u7684\u4ed3\u5e93\u540d\uff0c\u4f46\u5982\u679c\u662f\u81ea\u5df1\u5efa\u7ad9\uff0c\u5176\u5b9e\u5c31\u6ca1\u6709\u5fc5\u8981\u5199\u8fd9\u4e2a\u4e86\uff0c\u6211\u4eec\u76f4\u63a5\u4fee\u6539 config.js \u4e2d\u7684 base \u914d\u7f6e\uff1a<\/p>\n<div class=\"highlight highlight-source-js notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"module.exports = {\n  \tbase: ''\n}\"><\/p>\n<pre class=\"notranslate\"><span class=\"pl-smi\">module<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-c1\">exports<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-kos\">{<\/span>\n  \t<span class=\"pl-c1\">base<\/span>: <span class=\"pl-s\">''<\/span>\n<span class=\"pl-kos\">}<\/span><\/pre>\n<\/div>\n<p dir=\"auto\">\u4f46\u662f\u5982\u679c\u4f60\u7684\u5730\u5740\u5df2\u7ecf\u5bf9\u5916\u53d1\u51fa\u53bb\u4e86\u5462\uff1f\u4ea6\u6216\u8005\u5df2\u7ecf\u88ab\u6536\u5f55\u4e86\uff0c\u8fd9\u4e2a\u65f6\u5019\u4f60\u53ef\u4ee5\u901a\u8fc7 Nginx \u7684 301 \u91cd\u5b9a\u5411\u6765\u5b9e\u73b0\uff1a<\/p>\n<div class=\"highlight highlight-source-nginx notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"    server {\n        listen 443 ssl;\n        server_name ts.yayujs.com;\n  \t\t\t\/\/ ...\n        location ^~ \/learn-typescript\/ {\n    \t\t\t\trewrite ^\/learn-typescript\/(.*)$ https:\/\/yayujs.com\/$1 permanent;\n    \t\t\t\talias \/home\/www\/website\/ts\/;\n        }\n  \t\t\t\/\/ ...\n   }\n\"><\/p>\n<pre class=\"notranslate\">    <span class=\"pl-k\">server<\/span> {\n        <span class=\"pl-k\">listen<\/span> <span class=\"pl-s\">443<\/span> ssl;\n        <span class=\"pl-k\">server_name<\/span> ts.yayujs.com;\n  \t\t\t\/\/ ...\n        <span class=\"pl-k\">location<\/span> ^~ <span class=\"pl-sr\">\/learn-typescript\/ <\/span>{\n    \t\t\t\t<span class=\"pl-k\">rewrite<\/span> <span class=\"pl-sr\">^\/learn-typescript\/(.*)$ <\/span>https:\/\/yayujs.com\/<span class=\"pl-smi\">$1<\/span> permanent;\n    \t\t\t\t<span class=\"pl-k\">alias<\/span> \/home\/www\/website\/ts\/;\n        }\n  \t\t\t\/\/ ...\n   }\n<\/pre>\n<\/div>\n<p dir=\"auto\">\u6b64\u65f6\u4f60\u518d\u8bbf\u95ee <a href=\"https:\/\/ts.yayujs.com\/learn-typescript\/handbook\/EverydayType.html\" rel=\"nofollow\">https:\/\/ts.yayujs.com\/learn-typescript\/handbook\/EverydayType.html<\/a>\uff0c\u5c31\u4f1a\u8df3\u8f6c\u5230 <a href=\"https:\/\/yayujs.com\/handbook\/EverydayType.html\" rel=\"nofollow\">https:\/\/yayujs.com\/handbook\/EverydayType.html<\/a><\/p>\n<h2 dir=\"auto\">5. \u94fe\u63a5\u52a0\u4e0a nofollow<\/h2>\n<p dir=\"auto\">\u641c\u7d22\u5f15\u64ce\u57fa\u672c\u7684 PageRank \u7b97\u6cd5\uff0c\u5176\u57fa\u672c\u5047\u8bbe\u662f\uff1a\u66f4\u91cd\u8981\u7684\u9875\u9762\u5f80\u5f80\u66f4\u591a\u5730\u88ab\u5176\u4ed6\u9875\u9762\u5f15\u7528\u3002\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 nofollow \u6765\u544a\u77e5 Google \u4e0d\u8981\u8ddf\u8e2a\u94fe\u63a5\u5230\u7684\u7f51\u9875\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u5206\u8d70\u6211\u4eec\u9875\u9762\u7684\u6743\u91cd\u3002<\/p>\n<p dir=\"auto\">\u90a3\u4e3a\u4ec0\u4e48\u4f1a\u6709 nofollow \u8fd9\u79cd\u65b9\u6cd5\u5b58\u5728\u5462\uff1f\u8fd9\u4e5f\u5f88\u597d\u7406\u89e3\uff0c\u5c31\u6bd4\u5982\u4f60\u5728\u4f60\u7684\u535a\u5ba2\u53d1\u8868\u4e86\u4e00\u4e2a\u5783\u573e\u7f51\u7ad9\u7684\u8bc4\u8bba\uff0c\u4e3a\u4e86\u63d0\u9192\u4ed6\u4eba\uff0c\u52a0\u4e86\u8fd9\u4e2a\u7f51\u7ad9\u7684\u94fe\u63a5\uff0c\u4f60\u5f53\u7136\u4e0d\u5e0c\u671b\u8fd9\u4e2a\u7f51\u7ad9\u56e0\u4e3a\u4f60\u7684\u58f0\u8a89\u800c\u83b7\u76ca\u3002\u8fd9\u65f6\u5019\u5c31\u975e\u5e38\u9002\u5408\u4f7f\u7528 nofollow\u3002<\/p>\n<p dir=\"auto\">\u4f7f\u7528 nofollow\uff0c\u6211\u4eec\u53ea\u7528\u5728\u94fe\u63a5\u4e0a\u52a0\u4e0a nofollow \u5c5e\u6027\u5373\u53ef\uff1a<\/p>\n<div class=\"highlight highlight-text-html-basic notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content='&lt;a href=\"http:\/\/www.example.com\" rel=\"nofollow\"&gt;Anchor text here&lt;\/a&gt;'>\n<pre class=\"notranslate\"><span class=\"pl-kos\">&lt;<\/span><span class=\"pl-ent\">a<\/span> <span class=\"pl-c1\">href<\/span>=\"<span class=\"pl-s\">http:\/\/www.example.com<\/span>\" <span class=\"pl-c1\">rel<\/span>=\"<span class=\"pl-s\">nofollow<\/span>\"<span class=\"pl-kos\">&gt;<\/span>Anchor text here<span class=\"pl-kos\">&lt;\/<\/span><span class=\"pl-ent\">a<\/span><span class=\"pl-kos\">&gt;<\/span><\/pre>\n<\/div>\n<p dir=\"auto\">\u6839\u636e VuePress \u7684<a href=\"https:\/\/v1.vuepress.vuejs.org\/zh\/config\/#markdown-externallinks\" rel=\"nofollow\">\u5b98\u65b9\u6587\u6863<\/a>\uff0c\u6211\u4eec\u77e5\u9053\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/150008f5c2ed76fc0e0a953c222e31193714cc90.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/150008f5c2ed76fc0e0a953c222e31193714cc90.jpg\" alt=\"image.png\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/71e06d5e7c6b41398ad2e766f6b84904~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">VuePress \u535a\u5ba2\u9ed8\u8ba4\u7684\u94fe\u63a5\u5c5e\u6027\u662f noopener noreferrer\uff0c\u6211\u4eec\u4fee\u6539\u4e0b config.js\uff0c\u6dfb\u52a0\u4e0a nofollow:<\/p>\n<div class=\"highlight highlight-source-js notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"    \nmodule.exports = {\n  \tmarkdown: {\n      externalLinks: { target: '_blank', rel: 'nofollow noopener noreferrer' }\n    }\n}\n\"><\/p>\n<pre class=\"notranslate\">    \n<span class=\"pl-smi\">module<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-c1\">exports<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-kos\">{<\/span>\n  \t<span class=\"pl-c1\">markdown<\/span>: <span class=\"pl-kos\">{<\/span>\n      <span class=\"pl-c1\">externalLinks<\/span>: <span class=\"pl-kos\">{<\/span> <span class=\"pl-c1\">target<\/span>: <span class=\"pl-s\">'_blank'<\/span><span class=\"pl-kos\">,<\/span> <span class=\"pl-c1\">rel<\/span>: <span class=\"pl-s\">'nofollow noopener noreferrer'<\/span> <span class=\"pl-kos\">}<\/span>\n    <span class=\"pl-kos\">}<\/span>\n<span class=\"pl-kos\">}<\/span><\/pre>\n<\/div>\n<p dir=\"auto\">\u6211\u4eec\u518d\u68c0\u67e5\u4e0b DOM \u5143\u7d20\uff0c\u5c31\u4f1a\u53d1\u73b0\u5e26\u4e0a\u4e86 nofollow \u5c5e\u6027\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/c65818cfaaa00601624bca15b28526461bffdfb5.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/c65818cfaaa00601624bca15b28526461bffdfb5.jpg\" alt=\"image.png\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/2eab1572783b4316bd75a6c8501c2b7d~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<h2 dir=\"auto\">6. \u591a\u9875\u6587\u7ae0<\/h2>\n<p dir=\"auto\">\u53c2\u8003 Google \u641c\u7d22\u4e2d\u5fc3\u7684\u201c<a href=\"https:\/\/developers.google.com\/search\/docs\/advanced\/guidelines\/get-started?hl=zh-cn#follow-crawling-and-indexing-best-practices\" rel=\"nofollow\">\u9075\u5faa\u6293\u53d6\u548c\u7d22\u5f15\u7f16\u5236\u6700\u4f73\u505a\u6cd5<\/a>\u201d\uff1a<\/p>\n<blockquote>\n<p dir=\"auto\">\u591a\u9875\u6587\u7ae0\uff1a\u5982\u679c\u60a8\u7684\u6587\u7ae0\u5206\u4e3a\u51e0\u4e2a\u9875\u9762\uff0c\u8bf7\u786e\u4fdd\u6709\u53ef\u4f9b\u7528\u6237\u70b9\u51fb\u7684\u4e0b\u4e00\u9875\u548c\u4e0a\u4e00\u9875\u94fe\u63a5\uff0c\u5e76\u4e14\u8fd9\u4e9b\u94fe\u63a5\u662f\u53ef\u6293\u53d6\u7684\u94fe\u63a5\u3002\u60a8\u53ea\u9700\u8fd9\u6837\u505a\uff0cGoogle \u5c31\u53ef\u4ee5\u6293\u53d6\u8fd9\u79cd\u7f51\u9875\u96c6\u3002<\/p>\n<\/blockquote>\n<p dir=\"auto\">\u8fd9\u91cc\u4e0d\u9700\u8981\u6211\u4eec\u7279\u522b\u505a\u4ec0\u4e48\uff0c\u522b\u89c9\u5f97\u6709\u4e86\u4fa7\u8fb9\u680f\uff0c\u5c31\u628a\u4e0a\u4e0b\u7bc7\u6587\u7ae0\u7684\u94fe\u63a5\u5e72\u6389\u5c31\u884c\u3002<\/p>\n<h2 dir=\"auto\">7. robots.txt<\/h2>\n<p dir=\"auto\">robots.txt \u6587\u4ef6\u89c4\u5b9a\u4e86\u641c\u7d22\u5f15\u64ce\u6293\u53d6\u5de5\u5177\u53ef\u4ee5\u8bbf\u95ee\u4f60\u7f51\u7ad9\u4e0a\u7684\u54ea\u4e9b\u7f51\u5740\uff0c \u6b64\u6587\u4ef6\u4e3b\u8981\u7528\u4e8e\u907f\u514d\u7f51\u7ad9\u6536\u5230\u8fc7\u591a\u8bf7\u6c42\u3002<\/p>\n<p dir=\"auto\">\u4f46\u662f\u8981\u6ce8\u610f\uff1arobots.txt \u4e0d\u662f\u4e00\u4e2a\u597d\u7684\u963b\u6b62\u641c\u7d22\u5f15\u64ce\u6293\u53d6\u67d0\u4e2a\u7f51\u9875\u7684\u673a\u5236\uff0c\u5047\u5982 robots.txt \u89c4\u5b9a\u4e86\u67d0\u4e2a\u6587\u4ef6\u4e0d\u5e94\u8be5\u88ab\u8bbf\u95ee\uff0c\u4f46\u662f\u5426\u88ab\u6267\u884c\uff0c\u5b8c\u5168\u770b\u641c\u7d22\u5f15\u64ce\u662f\u5426\u6309\u7167 robots.txt \u7684\u89c4\u8303\u6765\u6267\u884c\uff0c\u5f53\u7136\u50cf Google \u7b49\u641c\u7d22\u5f15\u64ce\u4f1a\u6309\u7167\u89c4\u8303\u6b63\u89c4\u6293\u53d6\uff0c\u5176\u4ed6\u7684\u641c\u7d22\u5f15\u64ce\u5c31\u4e0d\u4e00\u5b9a\u4e86\u3002\u53c8\u6bd4\u5982\u7f51\u9875\u88ab\u5176\u4ed6\u516c\u5f00\u7684\u7f51\u9875\u5f15\u7528\u4e86\uff0c\u4ecd\u53ef\u80fd\u4f1a\u627e\u5230\u8be5\u7f51\u9875\u5e76\u6536\u5f55\u3002<\/p>\n<p dir=\"auto\">\u82e5\u8981\u6b63\u786e\u963b\u6b62\u7f51\u5740\u51fa\u73b0\u5728 Google \u641c\u7d22\u7ed3\u679c\u4e2d\uff0c\u5e94\u8be5\u4e3a<a href=\"https:\/\/developers.google.com\/search\/docs\/advanced\/crawling\/control-what-you-share\" rel=\"nofollow\">\u670d\u52a1\u5668\u4e0a\u7684\u6587\u4ef6\u8bbe\u7f6e\u5bc6\u7801\u4fdd\u62a4<\/a>\u3001<a href=\"https:\/\/developers.google.com\/search\/docs\/advanced\/crawling\/block-indexing\" rel=\"nofollow\">\u4f7f\u7528 noindex \u5143\u6807\u8bb0\u6216\u54cd\u5e94\u6807\u5934<\/a>\uff0c\u6216\u8005\u5f7b\u5e95\u79fb\u9664\u7f51\u9875\u3002<\/p>\n<p dir=\"auto\">\u5bf9\u4e8e\u6211\u8fd9\u6837\u4e00\u4e2a\u5141\u8bb8\u5b8c\u5168\u8bbf\u95ee\u7684\u7ad9\u70b9\u6765\u8bf4\uff0c\u66f4\u591a\u7684\u4f5c\u7528\u662f\u544a\u8bc9\u641c\u7d22\u5f15\u64ce\u6211\u7684 sitemap \u5730\u5740\u3002<\/p>\n<p dir=\"auto\">\u7531\u4e8e robots.txt \u6587\u4ef6\u5e94\u8be5\u4f4d\u4e8e\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u4e0b\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u53ef\u4ee5\u76f4\u63a5\u5728 <code class=\"notranslate\">.vupress\/public<\/code>\u4e0b\u65b0\u5efa\u4e00\u4e2a robots.txt \u6587\u4ef6\uff0c\u6587\u4ef6\u5185\u5bb9\u5199\u5165\uff1a<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"Sitemap: https:\/\/ts.yayujs.com\/sitemap.xml\n\nUser-agent: *\"><\/p>\n<pre class=\"notranslate\"><code class=\"notranslate\">Sitemap: https:\/\/ts.yayujs.com\/sitemap.xml\n\nUser-agent: *\n<\/code><\/pre>\n<\/div>\n<p dir=\"auto\">\u5177\u4f53 robots.txt \u53ef\u4ee5\u8bbe\u7f6e\u7684\u5b57\u6bb5\u53ef\u4ee5\u53c2\u9605<a href=\"https:\/\/developers.google.com\/search\/docs\/advanced\/robots\/create-robots-txt\" rel=\"nofollow\">\u300c\u521b\u5efa robots.txt \u6587\u4ef6\u300d<\/a>\u3002<\/p>\n<p dir=\"auto\">\u9664\u4e86\u76f4\u63a5\u521b\u5efa\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528  <a href=\"\">vuepress-plugin-robots <\/a>\u63d2\u4ef6\uff0c\u8fd9\u91cc\u5c31\u4e0d\u591a\u53d9\u8ff0\u4e86\u3002<\/p>\n<h2 dir=\"auto\">8. 404 \u9875\u9762<\/h2>\n<p dir=\"auto\">\u53c2\u7167 <a href=\"https:\/\/developers.google.com\/search\/docs\/beginner\/seo-starter-guide?hl=zh_cn\" rel=\"nofollow\">\u300c\u641c\u7d22\u5f15\u64ce\u4f18\u5316 (SEO) \u65b0\u624b\u6307\u5357\u300d<\/a>\uff1a<\/p>\n<blockquote>\n<p dir=\"auto\"><strong>\u663e\u793a\u5b9e\u7528\u7684 404 \u9875\u9762<\/strong><\/p>\n<p dir=\"auto\">\u7528\u6237\u5076\u5c14\u4f1a\u56e0\u70b9\u51fb\u635f\u574f\u7684\u94fe\u63a5\u6216\u8f93\u5165\u9519\u8bef\u7684\u7f51\u5740\u800c\u8f6c\u5230\u60a8\u7f51\u7ad9\u4e0a\u4e0d\u5b58\u5728\u7684\u7f51\u9875\u3002\u4f7f\u7528\u81ea\u5b9a\u4e49 404 \u9875\u9762\u80fd\u591f\u6709\u6548\u5f15\u5bfc\u7528\u6237\u8fd4\u56de\u5230\u60a8\u7f51\u7ad9\u4e0a\u7684\u6b63\u5e38\u7f51\u9875\uff0c\u4ece\u800c\u5927\u5e45\u63d0\u5347\u7528\u6237\u7684\u4f53\u9a8c\u3002\u4e0d\u59a8\u8003\u8651\u6dfb\u52a0\u8fd4\u56de\u6839\u7f51\u9875\u7684\u94fe\u63a5\uff0c\u5e76\u63d0\u4f9b\u6307\u5411\u60a8\u7f51\u7ad9\u4e0a\u70ed\u95e8\u5185\u5bb9\u6216\u76f8\u5173\u5185\u5bb9\u7684\u94fe\u63a5\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 Google Search Console \u627e\u51fa\u5bfc\u81f4\u201c\u672a\u627e\u5230\u201d\u9519\u8bef\u7684\u7f51\u5740\u6765\u6e90\u3002<\/p>\n<\/blockquote>\n<p dir=\"auto\"><code class=\"notranslate\">vuepress-theme-reco<\/code> \u8fd9\u4e2a\u4e3b\u9898\u7684 404 \u9875\u9762\u9ed8\u8ba4\u7528\u7684\u662f\u817e\u8baf\u516c\u76ca\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/5db51aec470e9e94e9e76def5ec1c694a749c698.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/5db51aec470e9e94e9e76def5ec1c694a749c698.jpg\" alt=\"image.png\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/88b8d898d15743cb9fb1977b314fce51~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">\u5982\u679c\u4f60\u60f3\u5173\u95ed\uff1a<\/p>\n<div class=\"highlight highlight-source-js notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"module.exports = {\n  theme: 'reco',\n  themeConfig: {\n    noFoundPageByTencent: false\n  }  \n}\"><\/p>\n<pre class=\"notranslate\"><span class=\"pl-smi\">module<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-c1\">exports<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-kos\">{<\/span>\n  <span class=\"pl-c1\">theme<\/span>: <span class=\"pl-s\">'reco'<\/span><span class=\"pl-kos\">,<\/span>\n  <span class=\"pl-c1\">themeConfig<\/span>: <span class=\"pl-kos\">{<\/span>\n    <span class=\"pl-c1\">noFoundPageByTencent<\/span>: <span class=\"pl-c1\">false<\/span>\n  <span class=\"pl-kos\">}<\/span>  \n<span class=\"pl-kos\">}<\/span><\/pre>\n<\/div>\n<p dir=\"auto\">\u6837\u5f0f\u4f1a\u53d8\u6210\u8fd9\u6837\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/78adefd20908d24d023110126b0918fe569a8464.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/78adefd20908d24d023110126b0918fe569a8464.jpg\" alt=\"image.png\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/88e9b433a37a45c4afefc91ab5f186f4~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">\u5982\u679c\u4f60\u60f3\u8981\u4fee\u6539\u8fd9\u91cc\u7684\u6587\u6848\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u6e90\u7801\u91cc\u4fee\u6539\uff0c\u76ee\u5f55\u4e3a <code class=\"notranslate\">node_modules\/vuepress-theme-reco\/layouts\/404.vue<\/code>\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/e05a9e8325355ca94b85ebcb190632df8516859c.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/e05a9e8325355ca94b85ebcb190632df8516859c.jpg\" alt=\"image.png\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/a6ee44a7a26e4d959185c6472fa211cc~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<h2 dir=\"auto\">9. \u79fb\u52a8\u7aef\u8bbe\u7f6e<\/h2>\n<div class=\"highlight highlight-source-js notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"module.exports = {\n  \thead: [\n      ['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1' }],\n    ]\n}\"><\/p>\n<pre class=\"notranslate\"><span class=\"pl-smi\">module<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-c1\">exports<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-kos\">{<\/span>\n  \t<span class=\"pl-c1\">head<\/span>: <span class=\"pl-kos\">[<\/span>\n      <span class=\"pl-kos\">[<\/span><span class=\"pl-s\">'meta'<\/span><span class=\"pl-kos\">,<\/span> <span class=\"pl-kos\">{<\/span> <span class=\"pl-c1\">name<\/span>: <span class=\"pl-s\">'viewport'<\/span><span class=\"pl-kos\">,<\/span> <span class=\"pl-c1\">content<\/span>: <span class=\"pl-s\">'width=device-width, initial-scale=1'<\/span> <span class=\"pl-kos\">}<\/span><span class=\"pl-kos\">]<\/span><span class=\"pl-kos\">,<\/span>\n    <span class=\"pl-kos\">]<\/span>\n<span class=\"pl-kos\">}<\/span><\/pre>\n<\/div>\n<blockquote>\n<p dir=\"auto\">\u6b64\u6807\u8bb0\u53ef\u544a\u77e5\u6d4f\u89c8\u5668\u5982\u4f55\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u5448\u73b0\u7f51\u9875\u3002\u8be5\u6807\u8bb0\u7684\u5b58\u5728\u53ef\u5411 Google \u8868\u660e\u8be5\u7f51\u9875\u9002\u5408\u79fb\u52a8\u8bbe\u5907\u3002<\/p>\n<\/blockquote>\n<h2 dir=\"auto\">10. \u6d4b\u8bd5\u4e0e\u4f18\u5316\u5de5\u5177<\/h2>\n<h3 dir=\"auto\">10.1 Lighthouse<\/h3>\n<blockquote>\n<p dir=\"auto\">Google Lighthouse \u662f\u4e00\u79cd\u7528\u4e8e\u8861\u91cf\u7f51\u9875\u8d28\u91cf\u7684\u5f00\u6e90\u81ea\u52a8\u5316\u5de5\u5177\u3002\u5b83\u53ef\u4ee5\u9488\u5bf9\u4efb\u4f55\u516c\u5171\u6216\u8981\u6c42\u8eab\u4efd\u9a8c\u8bc1\u7684\u7f51\u9875\u8fd0\u884c\u3002Google Lighthouse \u4f1a\u5bf9\u7f51\u9875\u7684\u6027\u80fd\uff0c\u53ef\u8bbf\u95ee\u6027\u548c\u641c\u7d22\u5f15\u64ce\u4f18\u5316\u8fdb\u884c\u5ba1\u6838\u3002\u5b83\u8fd8\u5305\u62ec\u6d4b\u8bd5\u6e10\u8fdb\u5f0f Web \u5e94\u7528\u7a0b\u5e8f\u662f\u5426\u7b26\u5408\u6807\u51c6\u548c\u6700\u4f73\u5b9e\u8df5\u7684\u529f\u80fd\u3002<\/p>\n<\/blockquote>\n<p dir=\"auto\">\u6211\u4eec<a href=\"https:\/\/chrome.google.com\/webstore\/detail\/lighthouse\/blipmdconlkpinefehnmjammfjpmpbjk?hl=zh\" rel=\"nofollow\">\u5b89\u88c5\u4e0b Lighthouse \u6269\u5c55\u7a0b\u5e8f<\/a>\uff0c\u7136\u540e\u5728\u9700\u8981\u5ba1\u67e5\u7684\u7f51\u7ad9\u4e0a\uff0c\u70b9\u51fb Lighthouse \u63d2\u4ef6\uff0c\u518d\u70b9\u51fb\u300cGenerate report\u300d\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/e0f77f7fe952c52d137b9209482d4b88c706c7d9.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/e0f77f7fe952c52d137b9209482d4b88c706c7d9.jpg\" alt=\"image.png\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/d7f3812b62fa47e686967d793b6dd581~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\uff0c\u5c31\u4f1a\u751f\u6210\u4e00\u4e2a\u62a5\u544a\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/ae1f1237a5419fb856e7791ae01ba7aaf21df332.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/ae1f1237a5419fb856e7791ae01ba7aaf21df332.jpg\" alt=\"image.png\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/0a92267e9c004959930570c641504e79~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">\u6211\u4eec\u53ef\u4ee5\u67e5\u770b Performance\u3001Accessibility\u3001Best Practices\u3001SEO\u3001PWA \u4e94\u4e2a\u65b9\u9762\u7684\u5206\u6570\u548c\u4fee\u6539\u5efa\u8bae\uff0c\u6839\u636e\u8fd9\u4e2a\u5efa\u8bae\u8fdb\u884c\u8c03\u6574\uff0c\u5c3d\u53ef\u80fd\u7684\u4f18\u5316\u5c31\u597d\u4e86\u3002<\/p>\n<h3 dir=\"auto\">10.2 web.dev<\/h3>\n<p dir=\"auto\">\u5b98\u7f51\u5730\u5740\uff1a<a href=\"https:\/\/web.dev\/measure\/\" rel=\"nofollow\">https:\/\/web.dev\/measure\/<\/a>\uff0c\u4f60\u53ef\u4ee5\u7406\u89e3\u4e3a\u7f51\u9875\u7248\u7684 Lighthouse\uff0c\u53ea\u7528\u5728\u7f51\u9875\u4e0a\u8f93\u51fa\u4f60\u7684\u5730\u5740\u5c31\u884c\uff0c\u80cc\u540e\u8fd8\u662f\u7528\u7684 Lighthouse<\/p>\n<h3 dir=\"auto\">10.3 Page Speed Insights<\/h3>\n<p dir=\"auto\">Google \u63d0\u4f9b\u7684\u9875\u9762\u901f\u5ea6\u6d4b\u8bd5\u5de5\u5177\uff0c\u5730\u5740\uff1a<a href=\"https:\/\/pagespeed.web.dev\/\" rel=\"nofollow\">https:\/\/pagespeed.web.dev\/<\/a><\/p>\n<p dir=\"auto\">\u8f93\u5165\u5730\u5740\u540e\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u5206\u6790\uff0c\u4f1a\u51fa\u73b0\u5206\u6570\u548c\u4f18\u5316\u5efa\u8bae\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/2327b98951cf21c92442df3fd6ff21c60aeaa68c.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/2327b98951cf21c92442df3fd6ff21c60aeaa68c.jpg\" alt=\"image.png\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/02e56ad7e0b6434dac5cc90bf7a8441e~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<h2 dir=\"auto\">\u7cfb\u5217\u6587\u7ae0<\/h2>\n<p dir=\"auto\">\u535a\u5ba2\u642d\u5efa\u7cfb\u5217\u662f\u6211\u81f3\u4eca\u5199\u7684\u552f\u4e00\u4e00\u4e2a\u504f\u5b9e\u6218\u7684\u7cfb\u5217\u6559\u7a0b\uff0c\u9884\u8ba1 20 \u7bc7\u5de6\u53f3\uff0c\u8bb2\u89e3\u5982\u4f55\u4f7f\u7528 VuePress \u642d\u5efa\u3001\u4f18\u5316\u535a\u5ba2\uff0c\u5e76\u90e8\u7f72\u5230 GitHub\u3001Gitee\u3001\u79c1\u6709\u670d\u52a1\u5668\u7b49\u5e73\u53f0\u3002\u672c\u7bc7\u4e3a\u7b2c 29 \u7bc7\uff0c\u5168\u7cfb\u5217\u6587\u7ae0\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/mqyqingfeng\/Blog\">https:\/\/github.com\/mqyqingfeng\/Blog<\/a><\/p>\n<p dir=\"auto\">\u5fae\u4fe1\uff1a\u300cmqyqingfeng\u300d\uff0c\u52a0\u6211\u8fdb\u51b4\u7fbd\u552f\u4e00\u7684\u8bfb\u8005\u7fa4\u3002<\/p>\n<\/td>\n<p>\u6587\u7ae0\u8f6c\u8f7d\u81ea<a href='https:\/\/github.com\/mqyqingfeng\/Blog\/issues\/274'>https:\/\/github.com\/mqyqingfeng\/Blog\/issues\/274<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5728 \u300a\u4e00\u7bc7\u5e26\u4f60\u7528 VuePress + Github Pages \u642d\u5efa\u535a\u5ba2\u300b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 VuePress \u642d\u5efa\u4e86\u4e00\u4e2a\u535a\u5ba2\uff0c\u6700\u7ec8\u7684\u6548\u679c\u67e5\u770b\uff1aTypeScr&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.lccc.top\/?p=1393\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1393","post","type-post","status-publish","format-standard","hentry","category-learn"],"_links":{"self":[{"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/posts\/1393"}],"collection":[{"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lccc.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1393"}],"version-history":[{"count":1,"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/posts\/1393\/revisions"}],"predecessor-version":[{"id":1488,"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/posts\/1393\/revisions\/1488"}],"wp:attachment":[{"href":"https:\/\/www.lccc.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lccc.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lccc.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}