{"id":424,"date":"2012-12-23T06:19:53","date_gmt":"2012-12-22T22:19:53","guid":{"rendered":"https:\/\/sdeno.com\/?p=424"},"modified":"2012-12-23T06:56:45","modified_gmt":"2012-12-22T22:56:45","slug":"baidu-sitemap-generator%e5%b7%a5%e5%85%b7404%e9%94%99%e8%af%af%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/sdeno.com\/?p=424","title":{"rendered":"Baidu Sitemap Generator\u5de5\u5177404\u9519\u8bef\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<p>sitemap.html \u51fa\u73b0404\u3002\u8fd9\u91cc\u4e0d\u4ecb\u7ecdBaidu Sitemap Generator\u5de5\u5177\u7684\u5b89\u88c5\u91cd\u70b9\u4ecb\u7ecd\u5728win\u7cfb\u7edf\u4f7f\u7528\u4f2a\u9759\u6001\u7684\u60c5\u51b5\u4e0b\u5b89\u88c5Baidu Sitemap Generator\u8bbf\u95eesitemap.html\u65f6\u51fa\u73b0\u7684404\u9519\u8bef\u7684\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n<p>1\uff0c\u627e\u5230\u4f2a\u9759\u6001\u89c4\u5219\u6587\u4ef6httpd.conf\uff0c\u5728\u5176\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4e24\u884c\u4ee3\u7801\uff1a<\/p>\n<p>\u52a0\u8f7d\u7684\u4f4d\u7f6e\u5f88\u91cd\u8981<\/p>\n<p>[code][ISAPI_Rewrite]<\/p>\n<p># 3600 = 1 hour<\/p>\n<p>CacheClockRate 3600 RepeatLimit 32<\/p>\n<p># Protect httpd.ini and httpd.parse.errors files<\/p>\n<p># from accessing through HTTP # wordpress<\/p>\n<p># For tag RewriteRule \/tag\/(.*)\/page\/(\\d+)$ \/index\\.php\\?tag=$1&amp;paged=$2<\/p>\n<p>RewriteRule \/tag\/(.+)$ \/index\\.php\\?tag=$1<\/p>\n<p># For category RewriteRule \/category\/(.*)\/page\/(\\d+)$ \/index\\.php\\?category_name=$1&amp;paged=$2<\/p>\n<p>RewriteRule \/category\/(.*) \/index\\.php\\?category_name=$1<\/p>\n<p># For sitemapxml RewriteRule \/sitemap.xml \/sitemap.xml [L]<\/p>\n<p>RewriteRule \/favicon.ico \/favicon.ico [L]<\/p>\n<p># For file-based wordpress content (i.e. theme), admin, etc.<\/p>\n<p>RewriteRule \/wp-(.*) \/wp-$1 [L]<\/p>\n<p># For normal wordpress content, via index.php<\/p>\n<p><strong>RewriteRule \/sitemap_baidu.xml \/sitemap_baidu.xml [L]<\/strong><\/p>\n<p><strong>RewriteRule \/sitemap.html \/sitemap.html [L]<\/strong><\/p>\n<p>RewriteRule ^\/$ \/index.php [L]<\/p>\n<p>RewriteRule \/(.*) \/index.php\/$1 [L][\/code]<\/p>\n<p>\u5176\u5b9e\u91cd\u70b9\u662f\u52a0\u4e0a<\/p>\n<p>[code]RewriteRule \/sitemap_baidu.xml \/sitemap_baidu.xml [L]<\/p>\n<p>RewriteRule \/sitemap.html \/sitemap.html [L][\/code]<\/p>\n<p>\u5c0f\u7f16\u6211\u8981\u591a\u8bf4\u4e0b\u4ee5\u4e0a\u65b9\u6cd5\u53ef\u80fd\u6709\u4e9b\u4eba\u80fd\u6210\u529f\u53ef\u80fd\u6709\u4e9b\u4eba\u4e0d\u80fd\u6210\u529f\uff0c\u5c0f\u7f16\u6211\u7528\u7684\u7a7a\u95f4\u9ed8\u8ba4\u4f2a\u9759\u6001\u89c4\u5219\u6587\u4ef6httpd.conf\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<p>[code]RegistrationName= wlqcwin<br \/>\nRegistrationCode= 2EAD-35GH-66NN-ZYBA<\/p>\n<p>[ISAPI_Rewrite]<br \/>\n# 3600 = 1 hour<br \/>\nCacheClockRate 3600<br \/>\nRepeatLimit 32<\/p>\n<p>#\u9ed8\u8ba4\u5305\u542b\u4e86301\u8bbe\u7f6e\uff0c\u6b64\u8bbe\u7f6e\u60c5\u51b5\u4e0bcctv.com\/aa.htm \u4f1a301\u8df3\u81f3www.cctv.com\/aa.htm\uff0c\u5c06cctv.com\u66ff\u6362\u4e3a\u60a8\u81ea\u5df1\u7684\u57df\u540d\u5c31\u80fd\u5b9e\u73b0\u81ea\u5df1\u7684\u57df\u540d\u7684301<br \/>\nRewriteCond %{HTTP:Host} ^cctv.com$<br \/>\nRewriteRule (.*) http:\/\/www.cctv.com$1 [NC,R=301]<\/p>\n<p>&nbsp;<\/p>\n<p>#Discuz ! x\u548cdiscuz x1.5\u4f2a\u9759\u6001\u89c4\u5219,\u82e5\u4e0d\u9700\u8981\u6216\u4e0e\u60a8\u7684\u7f51\u7ad9\u7a0b\u5e8f\u6709\u51b2\u7a81\u53ef\u4ee5\u5220\u9664\u3002<br \/>\n#\u5982\u679c\u4f60\u7684\u7f51\u7ad9\u662fdiscuz!x\u5c31\u628a\u4ee5\u4e0b\u51e0\u884c\u524d\u9762\u7684#\u53f7\u5220\u9664\uff0c\u7136\u540e\u628aduoduo \u6dd8\u5b9d\u5ba2 \u4ee5\u4e0b\u7684\u89c4\u5219\u5168\u90e8\u5220\u9664\uff0c\u4e8c\u8005\u6709\u51b2\u9014\uff01<br \/>\n#RewriteRule ^(.*)\/topic-(.+)\\.html\\?*(.*)$ $1\/portal\\.php\\?mod=topic&amp;topic=$2&amp;$3<br \/>\n#RewriteRule ^(.*)\/article-([0-9]+)\\.html\\?*(.*)$ $1\/portal\\.php\\?mod=article&amp;articleid=$2&amp;$3<br \/>\n#RewriteRule ^(.*)\/forum-(\\w+)-([0-9]+)\\.html\\?*(.*)$ $1\/forum\\.php\\?mod=forumdisplay&amp;fid=$2&amp;page=$3&amp;$4<br \/>\n#RewriteRule ^(.*)\/thread-([0-9]+)-([0-9]+)-([0-9]+)\\.html\\?*(.*)$ $1\/forum\\.php\\?mod=viewthread&amp;tid=$2&amp;extra=page\\%3D$4&amp;page=$3&amp;$5<br \/>\n#RewriteRule ^(.*)\/group-([0-9]+)-([0-9]+)\\.html\\?*(.*)$ $1\/forum\\.php\\?mod=group&amp;fid=$2&amp;page=$3&amp;$4<br \/>\n#RewriteRule ^(.*)\/space-(username|uid)-(.+)\\.html\\?*(.*)$ $1\/home\\.php\\?mod=space&amp;$2=$3&amp;$4<br \/>\n#RewriteRule ^(.*)\/([a-z]+)-(.+)\\.html\\?*(.*)$ $1\/$2\\.php\\?rewrite=$3&amp;$4<\/p>\n<p># duoduo \u6dd8\u5b9d\u5ba2 Rewrite\u89c4\u5219<br \/>\nRewriteRule ^\/index\\.html$ \/index\\.php<br \/>\nRewriteRule ^\/sitemap\\.html$ \/sitemap\\.php<br \/>\nRewriteRule ^\/malllist\\.html$ \/malllist\\.php<br \/>\nRewriteRule ^\/shoplist\\.html$ \/shoplist\\.php<br \/>\nRewriteRule ^\/article\\.html$ \/article\\.php<br \/>\nRewriteRule ^\/user\/center\\.html$ \/user\/center\\.php<br \/>\nRewriteRule ^\/mall-(.*)-(.*)-(.*)\\.html$ \/mall\\.php\\?id=$1&amp;act=$2&amp;page=$3<br \/>\nRewriteRule ^\/mall-(.*)-(.*)\\.html$ \/mall\\.php\\?id=$1&amp;act=$2<br \/>\nRewriteRule ^\/mall-(.*)\\.html$ \/mall\\.php\\?id=$1<br \/>\nRewriteRule ^\/view-(.*)-(.*)\\.html$ \/view\\.php\\?iid=$1&amp;page=$2<br \/>\nRewriteRule ^\/view-(.*)\\.html$ \/view\\.php\\?iid=$1<br \/>\nRewriteRule ^\/malllist-(.*)-(.*)-(.*)\\.html$ \/malllist\\.php\\?catid=$1&amp;mall=$2&amp;page=$3<br \/>\nRewriteRule ^\/article_list-(.*)-(.*)\\.html$ \/article_list\\.php\\?cid=$1&amp;page=$2<br \/>\nRewriteRule ^\/article_list-(.*)\\.html$ \/article_list\\.php\\?cid=$1<br \/>\nRewriteRule ^\/read-(.*)\\.html$ \/read\\.php\\?id=$1<br \/>\nRewriteRule ^\/list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\\.html$ \/list\\.php\\?cid=$1&amp;start_price=$2&amp;end_price=$3&amp;sort=$4&amp;area=$5&amp;guarantee=$6&amp;list=$7&amp;q=$8&amp;page=$9<br \/>\nRewriteRule ^\/shop-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\\.html$ \/shop\\.php\\?nick=$1&amp;start_price=$2&amp;end_price=$3&amp;sort=$4&amp;area=$5&amp;guarantee=$6&amp;list=$7&amp;q=$8&amp;page=$9 [NU]<br \/>\nRewriteRule ^\/shoplist-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\\.html$ \/shoplist\\.php\\?cid=$1&amp;keyword=$2&amp;start_level=$3&amp;end_level=$4&amp;area=$5&amp;px=$6&amp;cpr=$7&amp;type=$8&amp;page=$9 [NU]<br \/>\nRewriteRule ^\/shoplist-(.*)\\.html$ \/shoplist\\.php\\?cid=$1<br \/>\nRewriteRule ^\/shop-(.*)\\.html$ \/shop\\.php\\?nick=$1 [NU]<br \/>\nRewriteRule ^\/list-(.*)\\.html$ \/list\\.php\\?cid=$1<br \/>\nRewriteRule ^\/list\\.html$ \/list\\.php<br \/>\nRewriteRule ^\/huangou-(.*)\\.html$ \/huangou\\.php\\?id=$1<br \/>\nRewriteRule ^\/huan-(.*)-(.*)\\.html$ \/huan\\.php\\?keyword=$1&amp;page=$2 [NU]<br \/>\nRewriteRule ^\/huan\\.html$ \/huan\\.php<br \/>\nRewriteRule ^\/coupons-(.*)-(.*)\\.html$ \/coupons\\.php\\?cid=$1&amp;page=$2<br \/>\nRewriteRule ^\/coupons\\.html$ \/coupons\\.php<br \/>\nRewriteRule ^\/cuxiao-(.*)\\.html$ \/cuxiao\\.php\\?id=$1<br \/>\nRewriteRule ^\/tg-(.*)-(.*)-(.*)-(.*)-(.*)\\.html$ \/tg\\.php\\?city_id=$1&amp;catid=$2&amp;mallid=$3&amp;keyword=$4&amp;page=$5 [NU]<br \/>\nRewriteRule ^\/tg-(.*)-(.*)-(.*)-(.*)\\.html$ \/tg\\.php\\?city_id=$1&amp;catid=$2&amp;mallid=$3&amp;page=$4<br \/>\nRewriteRule ^\/tg-(.*)-(.*)-(.*)\\.html$ \/tg\\.php\\?city_id=$1&amp;catid=$2&amp;mallid=$3<br \/>\nRewriteRule ^\/tg-(.*)\\.html$ \/tg\\.php\\?city_id=$1<br \/>\nRewriteRule ^\/tg\\.html$ \/tg\\.php<br \/>\nRewriteRule ^\/tgview-(.*)\\.html$ \/tgview\\.php\\?id=$1[\/code]<\/p>\n<p>\u4e5f\u5c31\u662f\u628a\u5176\u4e2d\u7684<\/p>\n<p>[code]RewriteRule ^\/sitemap\\.html$ \/sitemap\\.php[\/code]<\/p>\n<p>\u66ff\u6362\u4e3a<\/p>\n<p>[code]RewriteRule \/sitemap_baidu.xml \/sitemap_baidu.xml [L]<\/p>\n<p>RewriteRule \/sitemap.html \/sitemap.html [L][\/code]<\/p>\n<p>\u65b9\u6cd5\u7c7b\u4f3c\u4e0d\u660e\u767d\u7684\u53ef\u4ee5\u7559\u8a00\u8054\u7cfb\u672c\u4eba<\/p>\n","protected":false},"excerpt":{"rendered":"<p>sitemap.html \u51fa\u73b0404\u3002\u8fd9\u91cc\u4e0d\u4ecb\u7ecdBaidu Sitemap Generator\u5de5\u5177\u7684\u5b89\u88c5\u91cd\u70b9\u4ecb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,11],"tags":[],"class_list":["post-424","post","type-post","status-publish","format-standard","hentry","category-wordpress","category-11"],"_links":{"self":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=424"}],"version-history":[{"count":0,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/424\/revisions"}],"wp:attachment":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}