解决wordpress伪原创的问题:
1、wordpress后台设置,如下:
自定义结构:http://www.Vevb.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.
新闻热点
疑难解答
图片精选