10个神奇的.htaccess技巧(for WordPress)

1. 重定向WordPress的订阅地址

除了修改WordPress的模板文件来定制其输出的RSS Feed链接地址外,还可以使用.htaccess文件来进行设置(替换yourrssfeedlink为自己的Feedburner地址)。
# temp redirect wordpress content feeds to feedburner
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]
RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds2.feedburner.com/catswhocode [R=302,NC,L]
</IfModule>

参考:How to redirect WordPress rss feeds to feedburner
更多 »

Coldplay Viva La Vida Lyrics

The purpose of this HTML is to help determine what default settings are with CSS and to make sure that all possible HTML Elements are included in this HTML so as to not miss any possible Elements when designing a site.


I used to rule the world

Seas would rise when I gave the word

Now in the morning I sleep alone

Sweep the streets I used to own

I used to roll the dice
Feel the fear in my enemy's eyes

[top]

更多 »

Copyright © All Rights Reserved · Green Hope Theme by Sivan & schiy · Proudly powered by WordPress