0
我试图将sufix/rss2添加到RSS提要的默认WordPress URL。针对分类的RewriteRule WordPress提供的RSS提要
我想 http://www.mydomain.com/blog/category/news/feed/去http://www.mydomain.com/blog/category/news/feed/rss2
为了做到这一点,我使用这个重写规则:
RewriteRule ^blog/category/([^/])/feed/?$ http://www.mydomain.com/blog/category/$1/feed/rss2/ [NC,L]
但我不能使它发挥作用。不知何故,WordPress重写过程忽略了我的。
我见/博客目录下安装在我的博客,我试图前后的.htaccess WordPress的模块把这个规则:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
[[[[I tried to put it here with no luck]]]]
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
[[[[I tried to put it here too with no luck]]]]
关于如何做到这一点任何想法?非常感谢!
我看到的唯一途径,得到它的工作,就是将代理标志'[P]' – Gerben