Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

odoo11: robots.txt issue on PageSpeed Insights/Search Console

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
robots.txtodoo11
1 Rispondi
5188 Visualizzazioni
Avatar
Filippo

I've an issue with my robots.txt, on page speed insights and search console it's reported some errors:


Line #ContentError
1
Unknown directive
2

User-agent: *

Unknown directive
4
Syntax not understood

even if the robot.txt seen from web is without doctype or

tag.


Can you please help?

0
Avatar
Abbandona
Avatar
Bhavin Patel
Risposta migliore

It seems that there may be an issue with the formatting of your robots.txt file. The errors reported by PageSpeed Insights and Search Console suggest that there are unknown or incorrect directives in your robots.txt file.

Here are a few things you can check to resolve this issue:

  1. Make sure that your robots.txt file is located at the root of your website's domain (e.g. www.example.com/robots.txt). If it's not located there, search engine bots may not be able to find and read it.

  2. Check the syntax of your robots.txt file to ensure that it's properly formatted. Each directive should be on a separate line, and the file should be saved in plain text format (not HTML or any other format).

  3. Verify that the directives in your robots.txt file are valid. The User-agent directive should be followed by the name of the search engine bot you want to control (e.g. Googlebot), and the Allow and Disallow directives should be followed by the URL paths you want to allow or disallow crawling (e.g. Allow: /blog/).

  4. If you're using Odoo 11 to manage your website, you may want to check if there are any add-ons or customizations that could be affecting the robots.txt file. Make sure that any changes you make to the robots.txt file are reflected in Odoo as well.

Once you've made any necessary changes to your robots.txt file, you can resubmit it to the Google Search Console to ensure that it's being correctly read and interpreted by search engine bots.

1
Avatar
Abbandona
Filippo
Autore

Hi,
the issue is with the website_lazy_load_images module, it is adding doctype and formatting on the robot.txt file, I've downloaded from github the last version but it still has the bug.

Bhavin Patel

The robots.txt file is an important file for search engines to crawl your website effectively. If there is an issue with the formatting or content of the robots.txt file, it can affect your website's visibility on search engines.

Regarding the issue with the website_lazy_load_images module adding doctype and formatting on the robots.txt file, you can try the following steps to resolve it:

Disable the website_lazy_load_images module temporarily and check if the issue is resolved.
If disabling the module resolves the issue, then try to update the module to the latest version or reach out to the module developers for a fix.
If the issue persists even after updating the module, then try to manually modify the robots.txt file and remove any unwanted formatting added by the module.

You can also try testing your website on other SEO tools like Google's Mobile-Friendly Test, GTmetrix, or Pingdom to check if there are any other issues that need to be resolved to improve your website's performance and visibility on search engines.

Filippo
Autore

Hi thank you for your response,
I've already disabled the website_lazy_load-images module it the issue is resolved, this is the reason why I'm sure it is responsible for the defect.

I've also already updated teh module with the last version available, but ths issue still persist.

I can't , manually update the robot.txt, because the lazy_load module run on top and wrap it.

Testing it with PageSpeedInsight I found the issue.

Bhavin Patel

If disabling the website_lazy_load-images module resolved the issue with the robot.txt file, it's possible that there is a bug in the module that needs to be addressed.

In this case, I would suggest reaching out to the developer of the module to report the issue and ask for assistance in resolving it. You can also try checking the module's issue tracker on GitHub to see if others have experienced similar issues and if there are any suggested solutions or workarounds.

If you are unable to resolve the issue with the module and it is causing problems for your website, you may need to consider using an alternative solution for lazy loading images or find another way to optimize your website's performance.

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
create backorder odoo after validate purchase shipment ? Risolto
odoo11
Avatar
Avatar
1
ott 25
11987
Pages that aren’t indexed can’t be served on Google Risolto
robots.txt
Avatar
Avatar
1
feb 25
1746
I can't create any sub-task
odoo11
Avatar
Avatar
Avatar
2
lug 24
3647
odoo 11 display calendar widget in website layout
odoo11
Avatar
Avatar
1
giu 24
5955
Google is blocked by robots.txt
robots.txt
Avatar
Avatar
1
gen 24
3786
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now