{"id":60703,"date":"2025-04-26T08:56:20","date_gmt":"2025-04-26T00:56:20","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60703\/"},"modified":"2025-04-26T08:56:20","modified_gmt":"2025-04-26T00:56:20","slug":"zencart%e5%ae%89%e8%a3%85seo%e6%a8%a1%e5%9d%97ceon-url-mapping%e6%96%b9%e6%b3%95%e6%ad%a5%e9%aa%a4","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60703\/","title":{"rendered":"zencart\u5b89\u88c5seo\u6a21\u5757ceon url mapping\u65b9\u6cd5\u6b65\u9aa4"},"content":{"rendered":"<p>zencart\u5b89\u88c5seo\u6a21\u5757ceon url mapping\u65b9\u6cd5\u6b65\u9aa4\uff0c\u63d0\u4f9b\u5982\u4e0b\u601d\u8def:<\/p>\n<p><span><span style=\"font-family: Arial;font-size: 14px\">1\u3001\u9996\u5148\u4e0b\u8f7d ceon_uri_mapping_3.6.3_for_zc&nbsp;<\/span><span style=\"font-family: Arial;font-size: 14px\">zen-cart.com\/forum\/showthread.php?t=117613<\/span><\/span><\/p>\n<p><span> <\/span><\/p>\n<p><span><span>2\u3001\u89e3\u538b\u540e\uff0c\u4f60\u4f1a\u53d1\u73b0\u91cc\u9762\u6709\u8fd9\u4e48\u51e0\u4e2a\u6587\u4ef6\u5939\u3002\u7ea2\u9f0e\u63d0\u793a\uff1a\u5982\u679c\u4f60\u4fee\u6539\u4e86<span>zencart<\/span>\u7684admin\u6587\u4ef6\u5939\u540d\u79f0\uff0c\u6ce8\u610f\u4fdd\u6301\u4e00\u81f4\uff01<\/span><\/span><\/p>\n<p><span><span>docs\uff1a\u6b64\u6a21\u5757\u914d\u5957\u6587\u6863\uff0c\u91cc\u9762\u6709\u8be6\u5c3d\u4ecb\u7ecdceon url mapping<\/span><\/span><\/p>\n<p><span><span>files\uff1a\u6b64\u6a21\u5757\u7684\u4e3b\u4f53\u6587\u4ef6\uff0c\u628a\u91cc\u9762\u7684\u6587\u4ef6\u76f4\u63a5\u4e0a\u4f20\u5230zencart\u7f51\u5e97\u7684\u6839\u76ee\u5f55\u5373\u53ef\u3002<\/span><\/span><\/p>\n<p><span><span>modified_core_files\uff1a\u4e0e\u6b64\u6a21\u5757\u76f8\u5173\u7684zencart\u7a0b\u5e8f\u6587\u4ef6\uff0c\u4e3b\u8981\u662f\u4fee\u6539\u4e86zencart\u7684\u90e8\u5206\u6587\u4ef6\uff0c\u627e\u5230\u91cc\u9762\u7684\u9002\u5f53\u7248\u672c\uff0c\u518d\u4e0a\u4f20\u5230zencart\u7f51\u5e97\u7684\u6839\u76ee\u5f55\u3002 template_override_files\uff1a\u4e0e\u6b64\u6a21\u5757\u76f8\u5173\u7684zencart\u7a0b\u5e8f\u6587\u4ef6\uff0c\u4e3b\u8981\u662f\u4fee\u6539\u4e86zencart\u7684\u6a21\u677f\u90e8\u5206\u6587\u4ef6\uff0c\u627e\u5230\u91cc\u9762\u7684\u9002\u5f53\u7248\u672c\uff0c\u518d\u4e0a\u4f20\u5230zencart\u7f51\u5e97\u7684\u4f60\u7684\u76f8\u5e94\u76ee\u5f55\u3002<\/span><\/span><\/p>\n<p><span><span>\u9664\u6b64\u8fd8\u6709license\u548creadme\u6587\u4ef6\uff0c\u7565\u8fc7\u3002<\/span><\/span><\/p>\n<p><span><span>3\u3001\u6309\u4e0a\u9762\u8bf4\u7684\u65b9\u6cd5\u4e0a\u4f20\u540e\uff0c\u8fdb\u5165zencart\u540e\u53f0\u3002<\/span><\/span><\/p>\n<p><span><span>4\u3001\u627e\u5230 Modules &gt; Ceon URI Mapping (<span>SEO<\/span>) Config\uff0c\u8fdb\u884c\u5fc5\u8981\u7684\u8c03\u6574\uff0c\u4e00\u822c\u9ed8\u8ba4\u5373\u53ef\u3002<\/span><\/span><\/p>\n<p><span><span>5\u3001\u63d0\u793a\uff1a\u6b64\u6a21\u5757\u7531\u4e8e\u662f\u514d\u8d39\u6a21\u5757\uff0c\u6240\u4ee5\u5e76\u4e0d\u81ea\u52a8\u751f\u6210\u53cb\u597d\u7684url\uff0c\u9700\u8981\u4f60\u624b\u52a8\u586b\u5199url\uff0c\u5bf9\u4e8e\u98de\u9f99\u8fd9\u7c7b\u61d2\u4eba\u6765\u8bf4\uff0c\u80af\u5b9a\u662f\u4e0d\u613f\u610f\u3002\u4e00\u822c\u4e3b\u8981\u67094\u7c7b\uff1aCategory\u3001Product\u3001Manufacturer\u3001EZ-Page\u3002\u6bd4\u5982\u5206\u7c7burl\u7684\u4f18\u5316\uff1a\u540e\u53f0\u627e\u5230Catalog &gt; Categories\/Products\uff0c\u7136\u540e\u7f16\u8f91\u6216\u65b0\u52a0\u4e00\u4e2a\u4ea7\u54c1\uff0c\u6700\u4e0b\u9762\u6709url\u9009\u9879\u3002\u6655\uff0c\u8fd9\u4e48\u9ebb\u70e6\uff01\u6b64\u6a21\u5757\u4f5c\u8005\u6709\u81ea\u52a8\u5904\u7406\u7684\u6a21\u5757\u53eb\u505aURI Mappings Manager\uff0c\u662f\u6536\u8d39\u6a21\u5757\uff0c\u7b97\u662fceon url mapping\u7684\u5546\u4e1a\u7248\u3002<\/span><\/span><\/p>\n<p><span><span>6\u3001\u4e0b\u4e00\u6b65\u662f\u6dfb\u52a0url\u91cd\u5199\u89c4\u5219\u3002<\/span><\/span><\/p>\n<p><span><span>1\uff09\u5982\u679c\u7f51\u7ad9<span>\u5b89\u88c5<\/span>\u5728\u57df\u540d\u6839\u76ee\u5f55\uff0c\u90a3\u4e48\u5728zencart\u7f51\u5e97\u5b89\u88c5\u6587\u4ef6\u5939\u4e0b\uff0c\u65b0\u5efa\u7acb\u4e00\u4e2a.htaccess\u6587\u4ef6\uff0c\u52a0\u4e0a\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/span><\/span><\/p>\n<p><span><span>RewriteEngine On<\/span><\/span><\/p>\n<p><span><span># Don\u2019t rewrite any URIs ending with a file extension (ending with .[xxxxx])<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]<\/span><\/span><\/p>\n<p><span><span># Don\u2019t rewrite admin directory<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !^\/admin [NC]<\/span><\/span><\/p>\n<p><span><span># Don\u2019t rewrite editors directory<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !^\/editors [NC]<\/span><\/span><\/p>\n<p><span><span># Don\u2019t rewrite cPanel directories<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !\/cpanel [NC]<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !\/frontend [NC]<\/span><\/span><\/p>\n<p><span><span># Handle all other URIs using <span>Zen Cart<\/span> (index.php)<\/span><\/span><\/p>\n<p><span><span>RewriteRule .* index.php?%{QUERY_STRING} [L]<\/span><\/span><\/p>\n<p><span><span>2\uff09\u5982\u679c\u7f51\u7ad9\u5b89\u88c5\u5728\u6587\u4ef6\u5939\u4e0b\uff0c\u90a3\u4e48\u4fee\u6539\u4e3a\uff1a<\/span><\/span><\/p>\n<p><span><span>RewriteEngine On<\/span><\/span><\/p>\n<p><span><span><br \/> <\/span><\/span><\/p>\n<p><span><span># ONLY rewrite URIs beginning with \/shop\/<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} ^\/shop\/ [NC]<\/span><\/span><\/p>\n<p><span><span># Don\u2019t rewrite any URIs ending with a file extension (ending with .[xxxxx])<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]<\/span><\/span><\/p>\n<p><span><span># Don\u2019t rewrite admin directory<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !^\/shop\/admin [NC]<\/span><\/span><\/p>\n<p><span><span># Don\u2019t rewrite editors directory<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !^\/shop\/editors [NC]<\/span><\/span><\/p>\n<p><span><span># Don\u2019t rewrite cPanel directories<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !\/cpanel [NC]<\/span><\/span><\/p>\n<p><span><span>RewriteCond %{REQUEST_URI} !\/frontend [NC]<\/span><\/span><\/p>\n<p><span><span># Handle all other URIs using Zen Cart (index.php)<\/span><\/span><\/p>\n<p><span><span>RewriteRule .* index.php?%{QUERY_STRING} [L]<\/span><\/span><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>zencart\u5b89\u88c5seo\u6a21\u5757ceon url mapping\u65b9\u6cd5\u6b65\u9aa4\uff0c\u63d0\u4f9b\u5982\u4e0b\u601d\u8def: 1\u3001\u9996\u5148\u4e0b\u8f7d ceon_uri_mapping_3.6.3_for_zc&nbsp;zen-cart.com\/forum\/showthread.php?t=117613 2\u3001\u89e3\u538b\u540e\uff0c\u4f60\u4f1a\u53d1\u73b0\u91cc\u9762\u6709\u8fd9\u4e48\u51e0\u4e2a\u6587\u4ef6\u5939\u3002\u7ea2\u9f0e\u63d0\u793a\uff1a\u5982\u679c\u4f60\u4fee\u6539\u4e86zencart\u7684admin\u6587\u4ef6\u5939\u540d\u79f0\uff0c\u6ce8\u610f\u4fdd\u6301\u4e00\u81f4\uff01 docs\uff1a\u6b64\u6a21\u5757\u914d\u5957\u6587\u6863\uff0c\u91cc\u9762\u6709\u8be6\u5c3d\u4ecb\u7ecdceon url mapping files\uff1a\u6b64\u6a21\u5757\u7684\u4e3b\u4f53\u6587\u4ef6\uff0c\u628a\u91cc\u9762\u7684\u6587\u4ef6\u76f4\u63a5\u4e0a\u4f20\u5230zencart\u7f51\u5e97\u7684\u6839\u76ee\u5f55\u5373\u53ef\u3002 modified_core_files\uff1a\u4e0e\u6b64\u6a21\u5757\u76f8\u5173\u7684zencart\u7a0b\u5e8f\u6587\u4ef6\uff0c\u4e3b\u8981\u662f\u4fee\u6539\u4e86zencart\u7684\u90e8\u5206\u6587\u4ef6\uff0c\u627e\u5230\u91cc\u9762\u7684\u9002\u5f53\u7248\u672c\uff0c\u518d\u4e0a\u4f20\u5230zencart\u7f51\u5e97\u7684\u6839\u76ee\u5f55\u3002 template_override_files\uff1a\u4e0e\u6b64\u6a21\u5757\u76f8\u5173\u7684zencart\u7a0b\u5e8f\u6587\u4ef6\uff0c\u4e3b\u8981\u662f\u4fee\u6539\u4e86zencart\u7684\u6a21\u677f\u90e8\u5206\u6587\u4ef6\uff0c\u627e\u5230\u91cc\u9762\u7684\u9002\u5f53\u7248\u672c\uff0c\u518d\u4e0a\u4f20\u5230zencart\u7f51\u5e97\u7684\u4f60\u7684\u76f8\u5e94\u76ee\u5f55\u3002 \u9664\u6b64\u8fd8\u6709license\u548creadme\u6587\u4ef6\uff0c\u7565\u8fc7\u3002 3\u3001\u6309\u4e0a\u9762\u8bf4\u7684\u65b9\u6cd5\u4e0a\u4f20\u540e\uff0c\u8fdb\u5165zencart\u540e\u53f0\u3002 4\u3001\u627e\u5230 Modules &gt; Ceon URI Mapping (SEO) Config\uff0c\u8fdb\u884c\u5fc5\u8981\u7684\u8c03\u6574\uff0c\u4e00\u822c\u9ed8\u8ba4\u5373\u53ef\u3002 5\u3001\u63d0\u793a\uff1a\u6b64\u6a21\u5757\u7531\u4e8e\u662f\u514d\u8d39\u6a21\u5757\uff0c\u6240\u4ee5\u5e76\u4e0d\u81ea\u52a8\u751f\u6210\u53cb\u597d\u7684url\uff0c\u9700\u8981\u4f60\u624b\u52a8\u586b\u5199url\uff0c\u5bf9\u4e8e\u98de\u9f99\u8fd9\u7c7b\u61d2\u4eba\u6765\u8bf4\uff0c\u80af\u5b9a\u662f\u4e0d\u613f\u610f\u3002\u4e00\u822c\u4e3b\u8981\u67094\u7c7b\uff1aCategory\u3001Product\u3001Manufacturer\u3001EZ-Page\u3002\u6bd4\u5982\u5206\u7c7burl\u7684\u4f18\u5316\uff1a\u540e\u53f0\u627e\u5230Catalog &gt; Categories\/Products\uff0c\u7136\u540e\u7f16\u8f91\u6216\u65b0\u52a0\u4e00\u4e2a\u4ea7\u54c1\uff0c\u6700\u4e0b\u9762\u6709url\u9009\u9879\u3002\u6655\uff0c\u8fd9\u4e48\u9ebb\u70e6\uff01\u6b64\u6a21\u5757\u4f5c\u8005\u6709\u81ea\u52a8\u5904\u7406\u7684\u6a21\u5757\u53eb\u505aURI Mappings Manager\uff0c\u662f\u6536\u8d39\u6a21\u5757\uff0c\u7b97\u662fceon url mapping\u7684\u5546\u4e1a\u7248\u3002 6\u3001\u4e0b\u4e00\u6b65\u662f\u6dfb\u52a0url\u91cd\u5199\u89c4\u5219\u3002 1\uff09\u5982\u679c\u7f51\u7ad9\u5b89\u88c5\u5728\u57df\u540d\u6839\u76ee\u5f55\uff0c\u90a3\u4e48\u5728zencart\u7f51\u5e97\u5b89\u88c5\u6587\u4ef6\u5939\u4e0b\uff0c\u65b0\u5efa\u7acb\u4e00\u4e2a.htaccess\u6587\u4ef6\uff0c\u52a0\u4e0a\u4ee5\u4e0b\u4ee3\u7801\uff1a RewriteEngine On # Don\u2019t rewrite any URIs ending with a file extension (ending with .[xxxxx]) RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC] # Don\u2019t rewrite admin directory [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-60703","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=60703"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60703\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}