欢迎各位兄弟 发布技术文章
这里的技术是共享的
[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.xml /sitemap.xml [L] RewriteRule /favicon.ico /favicon.ico [L] RewriteRule /robots.txt /robots.txt [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] RewriteRule /(.*) /index.php/$1 [L] 现在能完全实现了,所有文章和标签都实现了重定向,但我有个问题。 我现在在网站的根目录放了个abc文件夹,文件夹里放的是一些网页,现在在浏览器里直接访问如:www.123.com/abc/index.html 都访问不了了,我觉得是上面的代码的事情,应该是让所有的都转向了,该添一句,让abc目录下的所有文件都不重定向。 问题: 1.怎样添加一句,让根目录下abc文件夹下的目录都不用重定向 2.上面这样写对搜索引擎收录有什么影响,是好是坏?
是,abc文件夹下的所有网页(html php)都不用重定向