WordPress.org

Ready to get started?Download WordPress

Forums

feed/rss feed/atom in error logs (10 posts)

  1. redbox
    Member
    Posted 9 years ago #

    I am new to Word Press. I was just checking my error logs and see that some spiders are trying to locate /feed/rss2 and /feed/atom/ which do not exist in my installation of WordPress 1.2.1. Am I supposed to do something to create these?
    thanks :)

  2. Rémi Prévost
    Member
    Posted 9 years ago #

    Are you using .htaccess rules? Because if you use them, they're virtually created by Apache.

  3. If you use Permalinks (or .htaccess rules, as mentioned above), then /wp-rss2.php will be changed to /feed/rss2/. The same goes for the rest of your feeds.

  4. redbox
    Member
    Posted 9 years ago #

    Thanks for the replies. I'm using the Permanlinks htaccess that was automatically created.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php/archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^index.php/archives/category/?(.*) /index.php?category_name=$1 [QSA]
    RewriteRule ^index.php/archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^index.php/archives/author/?(.*) /index.php?author_name=$1 [QSA]
    RewriteRule ^index.php/archives/?([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$ /index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
    RewriteRule ^index.php/archives/?([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
    RewriteRule ^index.php/archives/?([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/trackback/?$ /wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
    RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1&withcomments=1 [QSA]

    My categories work with the mod_rewrite, but the rss links don't.
    I appreciate any advice :)

  5. URL please...

  6. redbox
    Member
    Posted 9 years ago #

    Thanks! The address is http://www.hoodiascam.com

  7. Beel
    Member
    Posted 9 years ago #

    I suspect it is a problem because you have index.php in the permalink structure. This, I believe, has been addressed in other threads. Perhaps you can find them by googling the site.

  8. Ryan Boren
    WordPress Dev
    Posted 9 years ago #

    Don't put index.php in your permalink structure if you're using htaccess.

  9. Your feed does function correctly, as http://www.hoodiascam.com/wp-rss2.php is working. Can you make permalinks work without /index.php/ in there? Use a permalink rule like /archives/%year%/%monthnum%/%day%/%postname%/

  10. redbox
    Member
    Posted 9 years ago #

    Thanks very much! Removing the index.php from the permalinks structure, then uploading the new htaccess file did the trick :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.