Google News è una piattaforma popolare che aggrega i titoli delle fonti di notizie di tutto il mondo, rendendola un'ottima piattaforma per gli editori per ottenere maggiore visibilità. Uno dei modi per inserire i contenuti del proprio sito web in Google News è quello di aggiungere il proprio feed RSS. Tuttavia, a volte si può incontrare il messaggio di errore “You haven’t added any content to this section yet” or “Non ci sono articoli in questa sezione.“. Questo articolo fornisce una guida passo passo su come risolvere il problema.
Comprendere il problema
The error message “You haven’t added any content to this section yet” or “Section missing content” typically appears when Google News cannot find or recognize the content from your RSS feed. This might be due to several reasons such as incorrect RSS feed URL, problems with your website’s RSS feed, or issues with the format of the content in the feed.
Seguite questi passaggi per risolvere il problema:
Passo 1: controllare l'URL del feed RSS
Ensure that the RSS feed URL you’ve entered is correct. An incorrect or broken URL might be the cause of the problem. Test your RSS feed URL in a browser or an RSS reader to see if it’s working correctly.
Passo 2: verificare il feed RSS
Il feed RSS stesso potrebbe avere dei problemi che impediscono a Google News di accedere ai contenuti. Utilizzate uno strumento di validazione dei feed RSS per verificare se il vostro feed RSS è ben formato. Questi strumenti possono identificare gli errori di sintassi o i problemi che potrebbero causare il problema.
Fase 3: Assicurarsi che il contenuto sia nel formato corretto
Google News has specific guidelines for the format of content in your RSS feed. Ensure that your RSS feed includes both the title and the full text of the news articles. Additionally, make sure that your content doesn’t contain invalid characters or tags that Google News doesn’t support.
Passo 4: controllare la frequenza di aggiornamento del feed
Se gli aggiornamenti dei contenuti sono poco frequenti o irregolari, Google News potrebbe non trovare sempre nuovi contenuti nel vostro feed. Cercate di mantenere un programma regolare di aggiornamento dei contenuti per il vostro sito web.
Fase 5: Reinvio del feed RSS
Dopo aver apportato le modifiche necessarie, è necessario inviare nuovamente il feed RSS a Google News. Dopo la ripresentazione, potrebbe essere necessario un po' di tempo prima che Google News si aggiorni e inizi a mostrare i vostri contenuti.
Fase 6: Disabilitare i bot di blocco dell'hosting
This is what has helped me personally. I have struggled with the issue of “Non ci sono articoli in questa sezione.” for a month and I finally found out what was causing this problem.
Il mio hosting web ha una regola di modsecurity che blocca molti bot cattivi e per errore ha deciso di bloccare anche il Google News Bot. Nei log degli errori ho trovato questo:
[Sat Jun 03 02:53:49.276836 2023] [error] [client 66.249.84.167] ModSecurity: Access denied with code 403, [Rule: 'REQUEST_HEADERS:User-Agent' '@pmFromFile /etc/modsecurity.d/badbots.txt'] [id "377901"] [rev "1"] [msg "BAD BOT - Detected and Blocked. "] [severity "CRITICAL"] [hostname "mydomain.com"] [uri "/feed/"]
Questo bot potrebbe anche essere bloccato da una regola di sicurezza nel file .htaccess o nel file robots.txt, quindi assicuratevi di controllarli.
Questo errore può essere risolto disabilitando la regola modsecurity; il modo più semplice per farlo è contattare direttamente il provider del webhost.