Googlebot/2.1 (+http://www.googlebot.com/bot.html)

Filed under: Uncategorized — 2004-06-15 @ 01:04:48

I keep getting hits in my server log from googlebot looking for 3 files (/index.rdf, /rss.xml, /atom.xml) i assume these correspond to the files /wp-rdf.php, /wp-rss.php, /wp-atom.php how to make a request to /rdf.xml translate to /wp-rdf.php ?
First i symlinked wp-rdf.php to rdf.xml however rdf files will not be parsed by the PHP interpreter so i used this block of code inside a .htaccess file

<filesmatch ".(xml|rdf)$">
ForceType application/x-httpd-php
</filesmatch>

Then had to edit /etc/apache-ssl/httpd.conf and allow this command (specifially the ForceType thing)
this is accomplished by changing
AllowOverride none
to
AllowOverride FileInfo
and now my blog is google-compliant!
i'm getting 100's of hits from blog indexers which is pretty cool.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

(required)

(required)