Jul 30, 2004 WordPress:

Feeds with WP?

While playing with shortstat, I found out that my error page (404) generates also stats, as it is based on PHP and it includes the generic footer. This is a nifty feature and I immediately found a few issues.

Some robots are trying to access /journal/atom.xml, /journal/rss.xml and journal/index.rdf — and they are promptly receiving 404. I fixed two of these, atom.xml and rss.xml, with simple rewrite rules (see below), but I don’t grasp what I should return for index.rdf. Any help is appreciated.

If you’d like to do the same, consider using the following rewrite rules in .htaccess file in your WP blog directory.

RewriteEngine on
RewriteRule ^rss.xml$ wp-rss2.php [L]
RewriteRule ^atom.xml$ wp-atom.php [L]

Comments

The URI to TrackBack this entry is: http://www.nomadig.com/2004/07/30/feeds-with-wp/trackback

No comments yet.

Leave a comment

The following Textile shortcuts are available:

_emphasis_
*strong*
@code@
^superscript^
~subscript~
+inserted text+

Hyperlink:
"link text":http://link.url

Image:
!http://image.url!

Lists:
* bulleted
# numbered

Hide help

Please be polite and use common sense when posting. Any comment is subject to removal. The e-mail address is required, but it is not shown to anybody else than the administrator.

Commenting uses Textile and your message is previewed below. Show Textile help

Write your comments

 

Preview

1.  — Jan 6 2009