Support » Requests and Feedback » Fix feeds for Google

  • I’ve been checking my site stats and it appears that robots are coming to my site looking for an index.rdf file that doesn’t exist. The wp-rdf is not picking up these hits for some reason and I’ve been digging around trying to find a fix, and found two things:

    1. Feed Redirector plugin that is not compatible with 2.6:

    Plugin Name: Feed Director
    Plugin URI:
    Description: Rewrites common feed URIs used by other blogging platforms into WP style feed URIs.
    Version: 0.2
    Author: Ryan Boren
    Author URI:
    // Replace the default mod_rewrite rules with the reduced set.
    function feed_dir_rewrite($wp_rewrite) {
        $feed_rules = array(
            'index.rdf' => 'index.php?feed=rdf',
            'index.xml' => 'index.php?feed=rss2',
            '(.+).xml' => 'index.php?feed=' . $wp_rewrite->preg_index(1)
            $wp_rewrite->rules = $feed_rules + $wp_rewrite->rules;
    // Hook in.
    add_filter('generate_rewrite_rules', 'feed_dir_rewrite');

    2. These core file changes, which obviously shouldn’t be done since there will be upgrades overwriting the changes:
    Fix WordPress RSS Feeds

    I’m trying to find a fix either with a plugin or through .htaccess to fix this – but it would be great if it were fixed in the core files.

    Anyone have any fixes for this?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fix feeds for Google’ is closed to new replies.