国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > CMS > Wordpress > 正文

WordPress解決偽靜態(tài)問題和百度地圖沖突問題

2024-09-07 00:51:23
字體:
供稿:網(wǎng)友

解決wordpress偽原創(chuàng)的問題:

1、wordpress后臺(tái)設(shè)置,如下:

自定義結(jié)構(gòu):http://www.survivalescaperooms.com/%post_id%.html

2、在網(wǎng)站根目錄建立一個(gè)文件httpd.ini,代碼如下:

  1. [ISAPI_Rewrite] 
  2.  
  3. # 3600 = 1 hour 
  4.  
  5. CacheClockRate 3600 
  6.  
  7. RepeatLimit 32 
  8.  
  9. # Protect httpd.ini and httpd.parse.errors files 
  10.  
  11. from accessing through HTTP 
  12.  
  13. # Rules to ensure that normal content gets through 
  14.  
  15. RewriteRule /sitemap.html /sitemap.html [L] 
  16. RewriteRule /sitemap_baidu.xml /sitemap_baidu.xml [L] 
  17. RewriteRule /sitemap.xml /sitemap.xml [L] 
  18.  
  19. RewriteRule /favicon.ico /favicon.ico [L] 
  20.  
  21. For file-based wordpress content (i.e. theme), admin, etc. 
  22.  
  23. RewriteRule /wp-(.*) /wp-$1 [L] 
  24.  
  25. For normal wordpress content, via index.php 
  26.  
  27. RewriteRule ^/$ /index.php [L] 
  28. --Vevb.com 
  29. RewriteRule /(.*) /index.php/$1 [L] 

這個(gè)代碼上面已經(jīng)加了兩段,是解決百度地圖無法顯示的問題,直接復(fù)制就OK.

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 循化| 得荣县| 大宁县| 潼关县| 科技| 屏山县| 恩平市| 东平县| 梨树县| 清苑县| 建平县| 台南县| 连云港市| 兴宁市| 荥阳市| 公安县| 田东县| 宁远县| 太仓市| 米泉市| 临沭县| 兴义市| 修武县| 宁南县| 和静县| 义马市| 潮安县| 轮台县| 永宁县| 永定县| 巴彦县| 休宁县| 永年县| 泽普县| 靖州| 额济纳旗| 乐亭县| 苏尼特右旗| 芜湖县| 乌拉特前旗| 喜德县|