Hi,
the usual http://yourwebsite.com/feed isnt working as a feed, how do I find my sites feed? or do I need to create one somehow?
My WP URL is http://inmcr.co.uk
Many Thanks
Jon
Fahad Murtaza answers:
It is working actually
http://inmcr.co.uk/feed/
And for the events feed, it'd simply be
http://inmcr.co.uk/events/feed
Fahad Murtaza comments:
For example, this is the feed for family events
http://inmcr.co.uk/events_category/family/feed
Fahad Murtaza comments:
And if you are looking for creating a custom feed, here is how-to:
http://codex.wordpress.org/Customizing_Feeds
inmcr comments:
Thank You so much
What would be the feed for all events instead of each sub category and the feed for all locations?
Thanks
Jon
Fahad Murtaza comments:
Great that it is the solution you were looking for. As in my original answer,
<blockquote>And for all the events feed, it'd simply be
http://inmcr.co.uk/events/feed</blockquote>
Fahad Murtaza comments:
I believe you should also redirect your main feed i.e.
http://inmcr.co.uk/feed/
to
http://inmcr.co.uk/events/feed
so, search engines can find your events RSS from looking at your code. Also, using feedburner is a good idea.
Fahad Murtaza comments:
Here is a little wordpress plugin you can use for pointing to new feedburner URL
<?php
/**
* Plugin Name: Update WP feed to feedburner
* Plugin URI: http://www.wpquestions.com/question/showLoggedIn/id/8997
* Description: Update WP feed URL to feedburner URL
* Version: 0.1
* Author: Fahd Murtaza
* Author URI: http://www.fahdmurtaza.com
* License: GPL2
*/
// replace the default posts feed with feedburner
function appthemes_custom_rss_feed( $output, $feed ) {
if ( strpos( $output, 'comments' ) )
return $output;
return esc_url( 'http://feeds.feedburner.com/ChangeToYourThemeURL/' );
}
add_action( 'feed_link', 'appthemes_custom_rss_feed', 10, 2 );
?>
The gist is here [[LINK href="https://gist.github.com/fahdi/7502414"]] https://gist.github.com/fahdi/7502414 [[/LINK]]
inmcr comments:
Thankyou