{"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_cn\/customize-page-configurations\/","title":{"rendered":"\u81ea\u5b9a\u4e49\u9875\u9762\u914d\u7f6e"},"content":{"rendered":"<div class=\"docs_rich-text w-richtext\">\n<p>\u9664\u4e86\u5728 CMS \u4eea\u8868\u677f\u548c\u8bbe\u8ba1\u5668\u753b\u5e03\u4e0a\u4e2a\u6027\u5316\u5185\u5bb9\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u81ea\u5b9a\u4e49\u9875\u9762\u7684 slug\uff08\u5373 URL\uff09\u3001\u9875\u9762\u7ea7 SEO \u914d\u7f6e\u548c Open Graph \u914d\u7f6e\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u60a8\u7f51\u7ad9\u4e0a\u7684\u6bcf\u4e2a\u9875\u9762\u90fd\u4ece\u4e3b\u8981\u8bed\u8a00\u73af\u5883\u83b7\u53d6\u5176\u914d\u7f6e\uff0c\u4f46\u60a8\u53ef\u4ee5\u9009\u62e9\u5728\u4efb\u4f55\u8f85\u52a9\u8bed\u8a00\u73af\u5883\u4e2d\u4fee\u6539\u8fd9\u4e9b\u914d\u7f6e\u3002\u00a0<\/p>\n<h6><strong>\u5f00\u59cb\u4e4b\u524d\uff1a<\/strong> \u63a2\u7d22\u672c\u5730\u5316\u6982\u8ff0\u4ee5\u719f\u6089\u672c\u5730\u5316\u3002\u00a0<\/h6>\n<h6><strong>\u7b14\u8bb0\uff1a<\/strong> \u4e00\u4e9b\u672c\u5730\u5316\u529f\u80fd\u53ea\u80fd\u5728\u7279\u5b9a\u7684\u672c\u5730\u5316\u8ba1\u5212\u4e2d\u4f7f\u7528\u3002 <a href=\"https:\/\/webflow.com\/localization\">\u5168\u9762\u4e86\u89e3\u672c\u5730\u5316\u8ba1\u5212\u548c\u529f\u80fd\u7684\u6bd4\u8f83<\/a>.\u00a0<\/h6>\n<p>\u5728\u672c\u6307\u5357\u4e2d\uff0c\u60a8\u5c06\u53d1\u73b0\uff1a\u00a0<\/p>\n<ol role=\"list\">\n<li>\u5982\u4f55\u5b9a\u5236\u9875\u9762\u7ea7 SEO \u548c Open Graph \u914d\u7f6e<\/li>\n<li>\u5982\u4f55\u8c03\u6574\u81ea\u5b9a\u4e49\u4ee3\u7801<\/li>\n<\/ol>\n<h2>\u5b9a\u5236\u9875\u9762\u7ea7 SEO \u548c Open Graph \u914d\u7f6e<\/h2>\n<p>\u8981\u4e2a\u6027\u5316\u6bcf\u4e2a\u9875\u9762\u7684 SEO \u548c Open Graph \u914d\u7f6e\uff1a\u00a0<\/p>\n<ol role=\"list\">\n<li>\u6309 <strong>\u533a\u57df\u8bbe\u7f6e\u89c6\u56fe<\/strong> \u9876\u90e8\u680f\u4e2d\u7684\u4e0b\u62c9\u83dc\u5355<\/li>\n<li>\u9009\u62e9\u60a8\u7684\u9996\u9009\u8bed\u8a00\u73af\u5883<\/li>\n<li>\u8bbf\u95ee <strong>\u9875\u9762\u9762\u677f<\/strong><\/li>\n<li>\u5c06\u9f20\u6807\u60ac\u505c\u5728\u8981\u4fee\u6539\u914d\u7f6e\u7684\u9875\u9762\u4e0a\u00a0<\/li>\n<li>\u70b9\u51fb\u914d\u7f6e\u201c<strong>\u9f7f\u8f6e<\/strong>\u201c \u56fe\u6807\u00a0<\/li>\n<\/ol>\n<p>\u968f\u540e\uff0c\u60a8\u53ef\u4ee5\u624b\u52a8\u8c03\u6574 <strong>SEO \u914d\u7f6e<\/strong> \u548c <strong>Open Graph \u914d\u7f6e<\/strong> \u50cf\u5f80\u5e38\u4e00\u6837 - \u6216\u8005\u5c06\u9f20\u6807\u60ac\u505c\u5728\u6bcf\u4e2a\u5b57\u6bb5\u4e0a\u5e76\u5355\u51fb\u201c<strong>\u5730\u7403<\/strong>\u201d\u56fe\u6807\u6765\u673a\u5668\u7ffb\u8bd1\u6587\u672c\u3002\u00a0<\/p>\n<p>\u4e86\u89e3\u6709\u5173SEO\u5b9a\u5236\u7684\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n<h6><strong>\u5185\u90e8\u63d0\u793a\uff1a<\/strong> \u5bf9\u4e8e Collection \u9875\u9762\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u5c06 Collection \u5b57\u6bb5\u96c6\u6210\u5230\u60a8\u7684 SEO \u914d\u7f6e\u548c Open Graph \u914d\u7f6e\u4e2d\u3002\u00a0<\/h6>\n<h2>\u5982\u4f55\u8c03\u6574\u81ea\u5b9a\u4e49\u4ee3\u7801<\/h2>\n<p>\u4e0e\u5176\u4ed6\u8bbe\u8ba1\u5143\u7d20\uff08\u5373\u5143\u7d20\u548c\u7ec4\u4ef6\u7684\u5e03\u5c40\uff09\u7c7b\u4f3c\uff0c\u6b21\u8981\u8bed\u8a00\u73af\u5883\u4e2d\u7684\u81ea\u5b9a\u4e49\u4ee3\u7801\u7ee7\u627f\u81ea\u4e3b\u8981\u8bed\u8a00\u73af\u5883\u3002\u60a8\u65e0\u6cd5\u5728\u6b21\u8981\u8bed\u8a00\u73af\u5883\u4e2d\u9644\u52a0\u6216\u5220\u9664\u81ea\u5b9a\u4e49\u4ee3\u7801\u3002\u00a0<\/p>\n<p>\u5982\u679c\u60a8\u5e0c\u671b\u521b\u5efa\u4ec5\u5f71\u54cd\u7279\u5b9a\u8bed\u8a00\u73af\u5883\u7684\u81ea\u5b9a\u4e49\u4ee3\u7801\uff0c\u6211\u4eec\u5efa\u8bae\u4f7f\u7528 HTML lang \u5c5e\u6027\u4f5c\u4e3a\u9009\u62e9\u5668\u6765\u5b9a\u4f4d\u8bed\u8a00\u73af\u5883\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\u5bf9\u4e8e\u52a8\u6001 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\u60a8\u9875\u9762\u7684 SEO \u8be6\u7ec6\u4fe1\u606f\u3001Open Graph \u8bbe\u7f6e\u548c\u81ea\u5b9a\u4e49\u4ee3\u7801\u3002","protected":false},"author":2,"featured_media":5185,"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_cn\/wp-json\/wp\/v2\/posts\/4300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/comments?post=4300"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts\/4300\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/media\/5173"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/media?parent=4300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/categories?post=4300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/tags?post=4300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}