WordPress.org

Support

Support » How-To and Troubleshooting » Change /feed directory to point to wp-feed.php

Change /feed directory to point to wp-feed.php

  • This is so strange… if i use /feed then my feed dosn’t work. If i type wp-rss2.php, or any of the other feed types, directly, they don’t work. BUT, if i type /wp-feed.php .. it all works perfectly. sooooo strange. i looked at wp-feed.php and it just looks like it redirects to the proper feed file, so what gives?

    I stopped trying to figure out -why- it would only work by using wp-feed, and just accepted it. But now i need to figure out how to get the /feed directory to point to that PHP file.

    http://www.keaven.com/feed

    right now that points to something else… and its not working. I want it to point to wp-feed.php, since that seems to be the only script that is actually working. it must have something to do with the RewriteRules in .htaccess. This is the line i can find:

    RewriteRule ^feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1 [QSA,L]

    but i’m not sure what to change it to… can anyone help out?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark (podz)
    Support Maven

    @podz

    One way with this problem is to ignore the rewrite rules.
    In the header file, change the links there to absolute links and in sidebar do the same.

    okay. i did that, and it’s working now. Thanks for the tip, podz.

    What about comment feeds though. They still reference the /feed ‘directory.’ where is the comments_rss_link() function found so i can change what it points to?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change /feed directory to point to wp-feed.php’ is closed to new replies.