Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coppa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Come configurare il rilevamento automatico per i feed RSS di WordPress

Nota editoriale: guadagniamo una commissione dai link dei partner su WPBeginner. Le commissioni non influenzano le opinioni o le valutazioni dei nostri redattori. Per saperne di più su Processo editoriale.

Avete notato che quando visitate WPBeginner, sulla barra degli URL c’è un’icona RSS. Spesso questa icona è presente nei siti che hanno impostato la scoperta automatica dei Feed RSS. Con l’impostazione della scoperta automatica si incoraggiano gli utenti a iscriversi e si informano anche quelli che non lo sanno. La maggior parte dei temi ignora questa caratteristica, che potrebbe essere la più importante da avere nei propri temi. In questo tutorial vi mostreremo come configurare la scoperta automatica dei Feed RSS di WordPress.

RSS Auto Discovery

Aprire il file header.php e incollare i seguenti codici sopra il codice </head>.

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo(‘rss2_url’); ?>" />

    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo(‘rss_url’); ?>" />

    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo(‘atom_url’); ?>" />

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’); ?> RSS Comments Feed" href="<?php bloginfo(‘comments_rss2_url’); ?>" />

Molti siti credibili del settore hanno adottato questa misura per assicurarsi che i lettori si iscrivano ai loro siti. Dovete selezionare se questi codici sono presenti nel vostro file header, altrimenti dovrete aggiungerli. Non dimenticate che se volete monitorare i vostri abbonati ai Feed RSS, dovete reindirizzare i vostri feed a FeedBurner.

Divulgazione: I nostri contenuti sono sostenuti dai lettori. Ciò significa che se cliccate su alcuni dei nostri link, potremmo guadagnare una commissione. Vedi come WPBeginner è finanziato , perché è importante e come puoi sostenerci. Ecco il nostro processo editoriale .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Il kit di strumenti WordPress definitivo

Ottenete l'accesso gratuito al nostro kit di strumenti - una raccolta di prodotti e risorse relative a WordPress che ogni professionista dovrebbe avere!

Reader Interactions

10 commentiLascia una risposta

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. mohadese esmaeeli says

    Hello! Is having an RSS feed field for site SEO dangerous? There are various theories on this matter, and I appreciate it if you share your professional opinion. Also, under what conditions should one use RSS?

    • WPBeginner Support says

      No, having an RSS feed is not dangerous it can even help search engines crawl your content. Most sites should normally have an RSS feed.

      Admin

  3. Belinda says

    I don’t think you mean below the /head code… I think you mean above it? As in, still within the head tags?? Let me know if I am misunderstanding something.

      • kf says

        Would you mind correcting the entry? It’s only been about 3 years now.

        I’ve blown 45 minutes trying to corroborate the above or below /head tag and just for giggles, scrolled down to read comments. No offense, but failing to correct the entry doesn’t give your site credibility. I have a technical site too but I don’t force my visitors to do any more work than they have to. The easier I make it, the more likely they are to give me money. Just sayin…

Lascia una risposta

Grazie per aver scelto di lasciare un commento. Tenga presente che tutti i commenti sono moderati in base alle nostre politica dei commenti e il suo indirizzo e-mail NON sarà pubblicato. Si prega di NON utilizzare parole chiave nel campo del nome. Avremo una conversazione personale e significativa.