解決wordpress偽原創的問題:
1、wordpress后臺設置,如下:
自定義結構:http://www.companysz.com/%post_id%.html
2、在網站根目錄建立一個文件httpd.ini,代碼如下:
- [ISAPI_Rewrite]
- # 3600 = 1 hour
- CacheClockRate 3600
- RepeatLimit 32
- # Protect httpd.ini and httpd.parse.errors files
- # from accessing through HTTP
- # Rules to ensure that normal content gets through
- RewriteRule /sitemap.html /sitemap.html [L]
- RewriteRule /sitemap_baidu.xml /sitemap_baidu.xml [L]
- RewriteRule /sitemap.xml /sitemap.xml [L]
- RewriteRule /favicon.ico /favicon.ico [L]
- # For file-based wordpress content (i.e. theme), admin, etc.
- RewriteRule /wp-(.*) /wp-$1 [L]
- # For normal wordpress content, via index.php
- RewriteRule ^/$ /index.php [L]
- --Vevb.com
- RewriteRule /(.*) /index.php/$1 [L]
這個代碼上面已經加了兩段,是解決百度地圖無法顯示的問題,直接復制就OK.
新聞熱點
疑難解答
圖片精選