Skip to:
Content
Pages
Categories
Search
Top
Bottom

changing rss url (redirecting to feedburner)

  • @toshieee

    Member

    how can I do that? I searched forums but couldn’t find it? Is there a plugin or how can I edit manually?

    thanks..

Viewing 10 replies - 1 through 10 (of 10 total)
  • @chrishajer

    Participant

    That’s a really good question. I think it would be a good idea for a plugin. There are specific feeds for forums, front page, topics, recent, tags, etc.. There’s not just one feed. I don’t know the answer, but I will bump this for you in case someone knows of a plugin or how to do it.

    @sambauers

    Participant

    This is plugin territory.

    I’m sure _ck_ will write it eventually. : )

    @toshieee

    Member

    Right now I just want to redirect the last 35 topics. So, just want to change the home rss feed. I think it can be manually edited, but i couldn’t find where to edit.

    @chrishajer

    Participant

    Hmm, searching brought me to this:

    https://bbpress.org/forums/topic/using-rss-feeds?replies=5

    Sounds like you’d be happy with a hack, which is really a bad idea, and this is really better suited to a plugin, but I am still looking for where you’d make the exact change in the core.

    In looking at this, I realized the RSS feeds for my forum are broken, so I’m not much help. Searching the code at trac.bbress.org for things like get_recent_rss_link (which is where the URL for the Recent Posts RSS feed comes from I think doesn’t give me any results. It seems the search there does not search the code, just the tickets? I read the help but it wasn’t telling me what I wanted to hear :)

    Maybe I’ll check out a new copy and grep through it to see where to hack. Sorry I can’t be of more help. I don’t know the answer but I’ll try to help.

    @erissiva

    Member

    I would also love to be able to do this without hacking too much code. I’m using the current plugin for WP, but it would be even more useful with something high-traffic like a message board.

    Would be even better if it played nice with the private forums plugin. I saw mention earlier in this thread about _ck_ – Feel up to the task?

    @howtogeek

    Member

    You could also use an .htaccess rule to do the redirect… something like:

    RewriteCond %{HTTP_USER_AGENT} !FeedBurner

    RewriteRule ^/forums/rss/$ http://feeds.feedburner.com/MyFeedBurnerUrl [R,L]

    The first line says to redirect anybody but feedburner, and the second line actually does the redirect. You’d have to adjust the links there as necessary for your specific forum.

    Of course this would only work for the main forum feed… you’d need to duplicate the lines for each RSS feed you wanted to redirect, and adjust the paths.

    @erissiva

    Member

    HowToGeek – I’ve put that code in the .htaccess and it still doesn’t seem to work.

    Here are the contents of my .htaccess file:

    Options +MultiViews
    RewriteEngine on
    RewriteCond %{HTTP_USER_AGENT} !FeedBurner
    RewriteRule ^/rss/$ http://feeds.feedburner.com/PinkOnBrownBB [R,L]

    Is there anything noticeable that might be causing the problem?

    @howtogeek

    Member

    That really should work… you might try adding a RewriteBase to it. Do you have a regular .htaccess for bbpress already?

    @erissiva

    Member

    Ok, so I changed the code to this:

    Options +MultiViews
    RewriteEngine on
    RewriteBase /
    RewriteCond %{HTTP_USER_AGENT} !FeedBurner
    RewriteRule ^/rss/$ http://feeds.feedburner.com/PinkOnBrownBB [R,L]

    And…nothing. Here’s the link to the forum:

    http://bb.pinkonbrown.org/

    Rewrites seem to be working in every other sense. Redirecting to feedburner works fine in WP – but then, I’m using the plugin.

    @howtogeek

    Member

    I see you have multiviews turned on… do you have override allowed in the apache configuration?

    If apache isn’t configured to allow overrides in .htaccess files, then the .htaccess files won’t work.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar