Wordpress:.htaccess性能技巧
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Wordpress:.htaccess性能技巧相关的知识,希望对你有一定的参考价值。
These are performance tricks to improve your Wordpress application.
# ######################################## # Custom HTACCESS # DESCRIPTION: Tips and tricks to beef up your wordpress quality # ######################################## # Prevent people from browsing your WordPress folder structure Options All -Indexes # Prevent people from browsing your WordPress folder structure <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_USER_AGENT} !^.*(FeedBurner|FeedValidator) [NC] RewriteRule ^feed/?.*$ http://feeds.labnol.org/labnol [L,NC,R=301] </IfModule> # Hide your XML Sitemaps from Search Engines <IfModule mod_rewrite.c> <Files sitemap.xml> Header set X-Robots-Tag "noindex" </Files> </IfModule>
以上是关于Wordpress:.htaccess性能技巧的主要内容,如果未能解决你的问题,请参考以下文章
apache_conf Wordpress .htaccess
apache_conf wordpress htaccess