Do you want to optimize your WordPress RSS Feed? The RSS feed allows your visiteurs to subscribe to your content. However, many newbies don't really know how to take advantage of this feature. In this article, we are going to share some tips with you that will help you optimize your RSS feed.

optimize-a-rss-feed-in-wordpress

1 - Optimize your WordPress RSS feed for Feedly

Feedly quickly became a popular feed reader, after the demise of Google Reader. Optimizing your WordPress RSS feed for Feedly will help you provide a better experience for your visiteurs.

You must first install and activate the "Optimize Your Feed for Feedly" plugin. For more details see our step by step guide on how to install a WordPress Plugin.

After activating the plugin, you must visit " Settings »OYFFF In your WordPress dashboard to configure the plugin settings.

configuration-feedly

On the first option, you must provide a large image to use as a cover image for your website. After that, you need to provide an SVG image that will be used as the icon of your site.

If you have your logo image in PNG or JPEG format, then you can use this online tool to convert it to SVG.

If you have an error while uploading the file, you need to enable SVG uploading on WordPress. Just add this code to your theme's functions.php file or to one of your plugins.

Function cc_mime_types ($ mimes) {$ mimes ['svg'] = 'image / svg + xml'; Return $ mimes; } Add_filter ('upload_mimes', 'cc_mime_types');

Then you need to check the box for the selected image option. However, if you are using a custom code to add featured images to your RSS feed, you will need to remove that code. Otherwise, long images may appear twice in your feed.

After that, you must provide an SVG file for use as SVG. Once again, you can use your site's logo with a fixed pitch of 30px.

You can also choose a color that will be used on Feedly when displaying your site as a source.

Finally, you can add your Google tracking ID Analytics. You can find this ID on your Google dashboard Analytics. This id looks something like UA-XXXXXXX-X.

Do not forget to click on the button « Save Changes To save your settings.

2 - Add a Follow button on Feedly to your articles

You can also add the Tracking button on Feedly on your website. This will allow your users to subscribe directly to your Feedly feed.

You must first visit the "Feedly Button Factory" site and click on the button design button. After that, provide the URL of your RSS feed, which will be similar to this:

http://yoursite.com/feed/

Push-to-feed-rss

Feedly will generate a code snippet for you. You must copy this piece of code and access " Appearance> Widgets In your dashboard.

You will then need to add a text widget and add this code in the text box.

3 - Display the summary instead of the full article in the RSS feed

View your complete article in the RSS feed allows users to read their RSS reader. This can affect the number of page views, advertising revenue, and conversion rate.

Some publishers prefer to post a summary, which would force users to visit their website.

WordPress offers an integrated solution. Just visit Settings> Playback In your dashboard and scroll down to the "For each article in a feed, provide" section.

for-each-item-the-flow-supply

Then just click on " extract Â»Then click on the button« Save Changes To save your settings.

On the same settings page, you can also control the number of items that appear on your RSS feed.

4 - Add a featured image for the articles in the RSS feed

By default, WordPress does not add a featured image to articles in the RSS feed. Some feed readers like Feedly try to automatically use the first image in the article as the featured image.

If you use " Optimize Feed for Feedly You can use this method to add an image to one on your RSS feed.

You will need to add this code to your theme's functions.php file or a site-specific plugin.

function rss_post_thumbnail ($ content) {global $ post; if (has_post_thumbnail ($ post-> ID)) {$ content = ' '. get_the_post_thumbnail ($ post-> ID). ' '. get_the_content (); } return $ content; } add_filter ('the_excerpt_rss', 'rss_post_thumbnail'); add_filter ('the_content_feed', 'rss_post_thumbnail');

This code simply adds your image to one in a paragraph just before the article's content.

5 - Add content before or after the articles in the feed

Want to add some custom content at the end or beginning of each article in your RSS feed? If you are already using the Yoast SEO plugin, then you are in luck. Meeting on " SEO> Advanced , Then click on the RSS tab.

Content-on-the-flow-Yoast seo

Here you will see two text boxes to add content before and after the articles in your WordPress RSS feed. You will notice that Yoast SEO automatically adds " Article %% POSTLINK %% appeared on %% Bloglink %%. »After each article.

This protects you from content scrapers because now Google will always know that your site was the original source.

That's it for this list of tips to put into practice to optimize your RSS feed. Do not hesitate to share your tips with your.