WordPress.org

Ready to get started?Download WordPress

Forums

Change /feed directory to point to wp-feed.php (4 posts)

  1. keaven
    Member
    Posted 9 years ago #

    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?

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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.

  3. keaven
    Member
    Posted 9 years ago #

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

  4. keaven
    Member
    Posted 9 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic