{"id":4300,"date":"2024-04-14T09:09:11","date_gmt":"2024-04-14T01:09:11","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=4300"},"modified":"2024-04-14T09:09:11","modified_gmt":"2024-04-14T01:09:11","slug":"customize-page-configurations","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/zh\/customize-page-configurations\/","title":{"rendered":"\u81ea\u8a02\u9801\u9762\u914d\u7f6e"},"content":{"rendered":"<div class=\"docs_rich-text w-richtext\">\n<p>\u9664\u4e86\u5728 CMS \u5100\u8868\u677f\u548c Designer \u756b\u5e03\u4e0a\u500b\u4eba\u5316\u5167\u5bb9\u4e4b\u5916\uff0c\u60a8\u9084\u53ef\u4ee5\u81ea\u8a02\u9801\u9762\u7684 slug\uff08\u5373 URL\uff09\u3001\u9801\u9762\u5c64\u7d1a SEO \u914d\u7f6e\u548c\u958b\u653e\u5716\u914d\u7f6e\u3002\u9810\u8a2d\u60c5\u6cc1\u4e0b\uff0c\u7db2\u7ad9\u4e0a\u7684\u6bcf\u500b\u9801\u9762\u90fd\u6703\u5f9e\u4e3b\u8981\u5340\u57df\u8a2d\u5b9a\u6d3e\u751f\u5176\u914d\u7f6e\uff0c\u4f46\u60a8\u53ef\u4ee5\u9078\u64c7\u5728\u4efb\u4f55\u8f14\u52a9\u5340\u57df\u8a2d\u5b9a\u4e0a\u4fee\u6539\u9019\u4e9b\u914d\u7f6e\u3002\u00a0<\/p>\n<h6><strong>\u958b\u59cb\u4e4b\u524d\uff1a<\/strong> \u700f\u89bd\u672c\u5730\u5316\u6982\u8ff0\u4ee5\u719f\u6089\u672c\u5730\u5316\u3002\u00a0<\/h6>\n<h6><strong>\u7b46\u8a18\uff1a<\/strong> \u67d0\u4e9b\u672c\u5730\u5316\u529f\u80fd\u53ea\u80fd\u900f\u904e\u7279\u5b9a\u672c\u5730\u5316\u8a08\u5283\u5b58\u53d6\u3002 <a href=\"https:\/\/webflow.com\/localization\">\u5168\u9762\u4e86\u89e3\u5728\u5730\u5316\u8a08\u5283\u548c\u529f\u80fd\u7684\u6bd4\u8f03<\/a>.\u00a0<\/h6>\n<p>\u5728\u672c\u6307\u5357\u4e2d\uff0c\u60a8\u5c07\u767c\u73fe\uff1a\u00a0<\/p>\n<ol role=\"list\">\n<li>\u5982\u4f55\u81ea\u8a02\u9801\u9762\u5c64\u7d1a SEO \u548c Open Graph \u914d\u7f6e<\/li>\n<li>\u5982\u4f55\u8abf\u6574\u81ea\u8a02\u7a0b\u5f0f\u78bc<\/li>\n<\/ol>\n<h2>\u5ba2\u88fd\u5316\u9801\u9762\u5c64\u7d1a SEO \u548c\u958b\u653e\u5716\u914d\u7f6e<\/h2>\n<p>\u8981\u500b\u4eba\u5316\u6bcf\u500b\u9801\u9762\u7684 SEO \u548c Open Graph \u914d\u7f6e\uff1a\u00a0<\/p>\n<ol role=\"list\">\n<li>\u6309 <strong>\u5340\u57df\u8a2d\u5b9a\u8996\u5716<\/strong> \u9802\u90e8\u6b04\u4e2d\u7684\u4e0b\u62c9\u5f0f\u9078\u55ae<\/li>\n<li>\u9078\u64c7\u60a8\u559c\u6b61\u7684\u5340\u57df\u8a2d\u7f6e<\/li>\n<li>\u8a2a\u554f <strong>\u9801\u9762\u9762\u677f<\/strong><\/li>\n<li>\u5c07\u6ed1\u9f20\u61f8\u505c\u5728\u60a8\u8981\u4fee\u6539\u5176\u914d\u7f6e\u7684\u9801\u9762\u4e0a\u00a0<\/li>\n<li>\u9ede\u9078\u914d\u7f6e\u201c<strong>\u9f52\u8f2a<\/strong>&quot; \u5716\u793a\u00a0<\/li>\n<\/ol>\n<p>\u96a8\u5f8c\uff0c\u60a8\u53ef\u4ee5\u624b\u52d5\u8abf\u6574\u60a8\u7684 <strong>SEO\u914d\u7f6e<\/strong> \u548c <strong>\u958b\u653e\u5716\u914d\u7f6e<\/strong> \u50cf\u5f80\u5e38\u4e00\u6a23 - \u6216\u5c07\u6ed1\u9f20\u61f8\u505c\u5728\u6bcf\u500b\u5b57\u6bb5\u4e0a\u4e26\u55ae\u64ca\u201c<strong>\u5730\u7403<\/strong>\u201d \u5716\u793a\u4f86\u6a5f\u5668\u7ffb\u8b6f\u6587\u5b57\u3002\u00a0<\/p>\n<p>\u4e86\u89e3\u6709\u95dc SEO \u81ea\u8a02\u7684\u66f4\u591a\u8cc7\u8a0a\u3002<\/p>\n<h6><strong>\u5167\u5e55\u63d0\u793a\uff1a<\/strong> \u5c0d\u65bc\u96c6\u5408\u9801\u9762\uff0c\u60a8\u53ef\u4ee5\u9078\u64c7\u5c07\u96c6\u5408\u6b04\u4f4d\u6574\u5408\u5230 SEO \u914d\u7f6e\u548c\u958b\u653e\u5716\u914d\u7f6e\u4e2d\u3002\u00a0<\/h6>\n<h2>\u5982\u4f55\u8abf\u6574\u81ea\u8a02\u7a0b\u5f0f\u78bc<\/h2>\n<p>\u8207\u5176\u4ed6\u8a2d\u8a08\u5143\u7d20\uff08\u5373\u5143\u7d20\u548c\u5143\u4ef6\u7684\u4f48\u5c40\uff09\u76f8\u6bd4\uff0c\u8f14\u52a9\u8a9e\u8a00\u74b0\u5883\u4e2d\u7684\u81ea\u8a02\u7a0b\u5f0f\u78bc\u662f\u5f9e\u4e3b\u8981\u8a9e\u8a00\u74b0\u5883\u7e7c\u627f\u7684\u3002\u5728\u8f14\u52a9\u5340\u57df\u8a2d\u5b9a\u4e2d\u6642\uff0c\u60a8\u7121\u6cd5\u9644\u52a0\u6216\u522a\u9664\u81ea\u8a02\u7a0b\u5f0f\u78bc\u3002\u00a0<\/p>\n<p>\u5982\u679c\u60a8\u5e0c\u671b\u5efa\u7acb\u5c08\u9580\u5f71\u97ff\u7279\u5b9a\u5340\u57df\u8a2d\u5b9a\u7684\u81ea\u8a02\u7a0b\u5f0f\u78bc\uff0c\u6211\u5011\u5efa\u8b70\u4f7f\u7528 HTML lang \u5c6c\u6027\u4f5c\u70ba\u9078\u64c7\u5668\u4f86\u5b9a\u4f4d\u5340\u57df\u8a2d\u7f6e\uff0c\u5982\u4e0b\u6240\u793a\uff1a <\/p>\n<div class=\"w-embed\">\n<div class=\"code-block\">\n<pre class=\"code-block_body\"><code id=\"snippet1\" class=\"code-block_code\">\n&lt;script&gt;\n\/\/ Obtain the lang attribute from the HTML element\nconst htmlLang = document.documentElement.lang;\n\n\/\/ Inspect the lang attribute and carry out a script accordingly\nif (htmlLang === 'en') {\nconsole.log('This page is in English. You can execute English-specific code here.');\n\/\/ Insert your English-specific code here\n} else if (htmlLang === 'fr') {\nconsole.log('This page is in French. You can execute French-specific code here.');\n\/\/ Insert your French-specific code here\n} else {\nconsole.log('This page is in a language other than English or French.');\n\/\/ Incorporate code for other languages here\n}\n&lt;\/script&gt;\n<\/code><\/pre>\n<\/div>\n<\/div>\n<p>\u6216\u8005\uff0c\u5c0d\u65bc\u52d5\u614b CSS\uff1a\u00a0<\/p>\n<div class=\"w-embed\">\n<div class=\"code-block\">\n<pre class=\"code-block_body\"><code id=\"snippet1\" class=\"code-block_code\">\n\/* Custom styles for all languages *\/\np {\nfont-size: 16px;\ncolor: black;\n}\n\n\/* Styles for English content *\/\n:lang(en) p {\nfont-weight: bold;\n}\n\n\/* Styles for French content *\/\n:lang(fr) p {\nfont-style: italic;\n}\n\n\/* Include additional language-specific styles as necessary *\/\n<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"\u672c\u5730\u5316\u9801\u9762\u7684 SEO \u8a73\u7d30\u8cc7\u8a0a\u3001\u958b\u653e\u5716\u8b5c\u8a2d\u5b9a\u548c\u81ea\u8a02\u7a0b\u5f0f\u78bc\u3002","protected":false},"author":2,"featured_media":5321,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[288],"tags":[],"class_list":{"0":"post-4300","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-localization","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/posts\/4300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/comments?post=4300"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/posts\/4300\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/media\/5218"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/media?parent=4300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/categories?post=4300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/tags?post=4300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}