{"id":29651,"date":"2024-11-25T12:37:24","date_gmt":"2024-11-25T04:37:24","guid":{"rendered":"https:\/\/fwq.ai\/blog\/29651\/"},"modified":"2024-11-25T12:37:24","modified_gmt":"2024-11-25T04:37:24","slug":"%e5%b8%9d%e5%9b%bdcms%e6%80%8e%e4%b9%88%e5%88%b6%e4%bd%9c%e7%bd%91%e7%ab%99sitemap","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/29651\/","title":{"rendered":"\u5e1d\u56fdCMS\u600e\u4e48\u5236\u4f5c\u7f51\u7ad9sitemap"},"content":{"rendered":"<p style=\"text-align: center\"><strong><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/020\/5dd2040b19205447.jpg\" class=\"aligncenter\" title=\"\u5e1d\u56fdCMS\u600e\u4e48\u5236\u4f5c\u7f51\u7ad9sitemap\u63d2\u56fe\" alt=\"\u5e1d\u56fdCMS\u600e\u4e48\u5236\u4f5c\u7f51\u7ad9sitemap\u63d2\u56fe\" \/><\/strong><\/p>\n<p><strong>\u600e\u4e48\u5236\u4f5c\u7f51\u7ad9sitemap\uff1f<\/strong><\/p>\n<p>\u589e\u52a0\u81ea\u5b9a\u4e49\u9875\u9762,\u6587\u4ef6\u540d\u53ca\u5b58\u653e\u76ee\u5f55:..\/..\/sitemap\/sitemap.xml<\/p>\n<p>\u4ee3\u7801\u5982\u4e0b:<\/p>\n<pre>='&lt;?xml  version=\"1.0\" encoding=\"UTF-8\"?&gt;'?&amp;gt;\n&lt;urlset&gt;&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net[!--news.url--]&lt;\/loc&gt;&lt;lastmod&gt;=date(\"Y-m-d\");?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;1.000&lt;\/priority&gt;&lt;\/url&gt;\n[e:loop={'select&nbsp;classid,classname,classpath,wburl&nbsp;from&nbsp;[!db.pre!]enewsclass&nbsp;where&nbsp;bclassid=0&nbsp;and&nbsp;showclass=0&nbsp;and&nbsp;(classid52&nbsp;and&nbsp;classid24)&nbsp;order&nbsp;by&nbsp;myorder',0,24,0}]\n&lt;?php if(emptyempty($bqr[wburl]))\n{\n$sccurl= $public_r[newsurl].$bqr[classpath];\n} else {\n$sccurl= $bqr[wburl];\n}\n?&gt;&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$sccurl?&amp;gt;\/&lt;\/loc&gt;&lt;priority&gt;0.6000&lt;\/priority&gt;&lt;\/url&gt;\n[\/e:loop]\n[listshowclass]'0',25,1,0[\/listshowclass]&nbsp;\u6a21\u677f\u5728\u540e\u9762\n[e:loop={\"select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_news&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC\",0,24,0}]\n&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date('Y-m-d',$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt;\n[\/e:loop]\n[e:loop={\"select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_shop&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC\",0,24,0}]\n&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date('Y-m-d',$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt;\n[\/e:loop]\n[e:loop={\"select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_movie&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC\",0,24,0}]\n&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date('Y-m-d',$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt;\n[\/e:loop]\n[e:loop={\"select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_baojia&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC\",0,24,0}]\n&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date('Y-m-d',$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt;\n[\/e:loop]\n[e:loop={\"select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_download&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC\",0,24,0}]\n&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date('Y-m-d',$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt;\n[\/e:loop]\n&lt;\/urlset&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5faa\u73af\u680f\u76ee\u5217\u8868\u7684\u6807\u7b7e\u6a21\u677f:<\/p>\n<p>\u4ee3\u7801\u5982\u4e0b:<\/p>\n<pre>[listshowclass]'0',25,1,0[\/listshowclass]\n[!--empirenews.listtemp--]\n&lt;!--list.var1--&gt;\n[!--empirenews.listtemp--]\n&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net[!--classurl--]&lt;\/loc&gt;&lt;priority&gt;0.6000&lt;\/priority&gt;&lt;\/url&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5e1d\u56fdCMS\u600e\u4e48\u5236\u4f5c\u7f51\u7ad9sitemap\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u600e\u4e48\u5236\u4f5c\u7f51\u7ad9sitemap\uff1f \u589e\u52a0\u81ea\u5b9a\u4e49\u9875\u9762,\u6587\u4ef6\u540d\u53ca\u5b58\u653e\u76ee\u5f55:..\/..\/sitemap\/sitemap.xml \u4ee3\u7801\u5982\u4e0b: ='&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;&#8217;?&amp;gt; &lt;urlset&gt;&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net[!&#8211;news.url&#8211;]&lt;\/loc&gt;&lt;lastmod&gt;=date(&#8220;Y-m-d&#8221;);?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;1.000&lt;\/priority&gt;&lt;\/url&gt; [e:loop={&#8216;select&nbsp;classid,classname,classpath,wburl&nbsp;from&nbsp;[!db.pre!]enewsclass&nbsp;where&nbsp;bclassid=0&nbsp;and&nbsp;showclass=0&nbsp;and&nbsp;(classid52&nbsp;and&nbsp;classid24)&nbsp;order&nbsp;by&nbsp;myorder&#8217;,0,24,0}] &lt;?php if(emptyempty($bqr[wburl])) { $sccurl= $public_r[newsurl].$bqr[classpath]; } else { $sccurl= $bqr[wburl]; } ?&gt;&lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$sccurl?&amp;gt;\/&lt;\/loc&gt;&lt;priority&gt;0.6000&lt;\/priority&gt;&lt;\/url&gt; [\/e:loop] [listshowclass]&#8217;0&#8242;,25,1,0[\/listshowclass]&nbsp;\u6a21\u677f\u5728\u540e\u9762 [e:loop={&#8220;select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_news&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC&#8221;,0,24,0}] &lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date(&#8216;Y-m-d&#8217;,$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt; [\/e:loop] [e:loop={&#8220;select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_shop&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC&#8221;,0,24,0}] &lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date(&#8216;Y-m-d&#8217;,$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt; [\/e:loop] [e:loop={&#8220;select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_movie&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC&#8221;,0,24,0}] &lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date(&#8216;Y-m-d&#8217;,$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt; [\/e:loop] [e:loop={&#8220;select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_baojia&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC&#8221;,0,24,0}] &lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date(&#8216;Y-m-d&#8217;,$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt; [\/e:loop] [e:loop={&#8220;select&nbsp;*&nbsp;from&nbsp;[!db.pre!]ecms_download&nbsp;order&nbsp;by&nbsp;newstime&nbsp;DESC&#8221;,0,24,0}] &lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net=$bqsr[titleurl]?&amp;gt;&lt;\/loc&gt;&lt;lastmod&gt;=date(&#8216;Y-m-d&#8217;,$bqr[newstime])?&amp;gt;&lt;\/lastmod&gt;&lt;changefreq&gt;daily&lt;\/changefreq&gt;&lt;priority&gt;0.8000&lt;\/priority&gt;&lt;\/url&gt; [\/e:loop] &lt;\/urlset&gt; \u767b\u5f55\u540e\u590d\u5236 \u5faa\u73af\u680f\u76ee\u5217\u8868\u7684\u6807\u7b7e\u6a21\u677f: \u4ee3\u7801\u5982\u4e0b: [listshowclass]&#8217;0&#8242;,25,1,0[\/listshowclass] [!&#8211;empirenews.listtemp&#8211;] &lt;!&#8211;list.var1&#8211;&gt; [!&#8211;empirenews.listtemp&#8211;] &lt;url&gt;&lt;loc&gt;https:\/\/www.xx.net[!&#8211;classurl&#8211;]&lt;\/loc&gt;&lt;priority&gt;0.6000&lt;\/priority&gt;&lt;\/url&gt; \u767b\u5f55\u540e\u590d\u5236 \u4ee5\u4e0a\u5c31\u662f\u5e1d\u56fdCMS\u600e\u4e48\u5236\u4f5c\u7f51\u7ad9sitemap\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-29651","post","type-post","status-publish","format-standard","hentry","category-cms"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29651","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=29651"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29651\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=29651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=29651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=29651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}