Optimizare pentru motoarele de căutare (SEO)¶
Optimizarea pentru motoarele de căutare, adesea abreviată ca SEO, este o strategie de marketing digital pentru a îmbunătăți vizibilitatea și clasarea unui site web în rezultatele motoarelor de căutare (de exemplu, în Google). Aceasta implică optimizarea diferitelor elemente de pe site-ul dvs., inclusiv conținutul acestuia, partajarea socială, adresele URL, imaginile și viteza paginii.
Notă
Odoo oferă mai multe module pentru a vă ajuta să vă construiți conținutul site-ului, cum ar fi eCommerce, Blog, :doc:` eLearning <../../elearning>` și Forum.
Toate temele Odoo <../web_design/themes> se bazează pe Cadrul CSS Bootstrap pentru a reda eficient în funcție de dispozitiv: desktop, tabletă sau mobil, care influențează pozitiv clasarea în motoarele de căutare.
Optimizarea continutului¶
Pentru a optimiza SEO unei pagini web, accesați pagina, apoi accesați .
Notă
If you change the title of a blog post or the name of a product, the link to the related webpage is automatically updated. The old link still functions as Odoo creates a 301 redirect, maintaining the SEO.
In-text keywords¶
In-text keywords appear naturally throughout a page’s visible content (titles, headings, and body text) and help search engines determine the topic and relevance of the page. These keywords have a real impact on ranking. They cannot be edited in the optimize SEO pop-up.
Important
Este recomandat să folosiți un singur titlu H1 pe pagină pentru SEO.
Imagini¶
Dimensiunea imaginilor are un impact semnificativ asupra vitezei paginii, care este un criteriu esențial pentru ca motoarele de căutare să optimizeze clasarea SEO.
Sfat
Comparați clasamentul site-ului dvs. folosind Viteza paginii Google sau Testul vitezei site-ului Pingdom .
Odoo comprimă automat imaginile încărcate și le convertește în „Webp”. Cu acest format de fișier, fotografiile sunt mai mici, ceea ce crește viteza de încărcare a paginii și, prin urmare, oferă o clasare mai bună în SEO. Toate imaginile folosite în temele oficiale Odoo sunt de asemenea comprimate implicit. Dacă utilizați o temă terță parte, aceasta poate oferi imagini care nu sunt comprimate eficient.
Pentru a modifica o imagine de pe site-ul dvs., selectați imaginea, faceți clic pe Editați, apoi accesați fila Personalizați și adaptați Format în :guilabel: Secțiunea „Imagine”.
Important
Etichetele Alt sunt folosite pentru a oferi context a ceea ce afișează o imagine, informând crawlerele motoarelor de căutare și permițându-le să indexeze corect o imagine. Adăugarea de cuvinte cheie etichete alt în câmpul Description este esențială din perspectiva SEO. Această descriere este adăugată la codul HTML al imaginii dvs. și este afișată atunci când imaginea nu poate fi afișată.
Indexation¶
Website indexation is the process by which search engines, such as Google, discover, analyze, and store information about a website’s content in their database. Search engine bots, known as crawlers or spiders, visit web pages and follow links to collect data, including text, images, and other media. The purpose of indexation is to make a website’s content searchable and discoverable to users. Without being indexed, a website or a specific page on that site will not appear in search engine results, regardless of how relevant or well-designed it is. Indexation is a fundamental step in SEO, serving as the foundation for a website’s visibility and organic traffic.
Notă
When you first create your website on Odoo, it will not appear directly in search engine results. Search engines need time to crawl and index it, which can take anywhere from a few days to several weeks. For Google, you can use the Search Console and request indexing for specific URLs, though this does not guarantee faster results. If you have an existing website and are migrating, your previous website may still appear instead of the new one during that timeframe.
SEO impact when migrating your existing website to Odoo¶
In most cases, migrating to Odoo will not negatively impact your SEO. While no platform can guarantee that rankings will remain unchanged, follow these best practices to significantly reduce the risk.
Keep your existing content.
Implement redirects from old URLs to their new counterparts.
Monitor traffic and indexation to make sure that everything is going well, using Google Search Console.
By doing this, you help search engines reindex your site and maintain your visibility in search results.
Notă
It is normal to experience a traffic decrease in the first days.
Prevent a page from being indexed¶
To effectively prevent a page from appearing in search engine results, use one of the following methods:
noindex tag: Access the page’s properties and toggle the Indexed switch off.
Notă
This option is not yet available for dynamic pages.
404 or 403: Configure the page to return a 404 (Not Found) or 403 (Forbidden) HTTP status code. These codes signal to search engines that the page does not exist or is inaccessible, leading to its eventual removal from the index.
403: Access the page’s properties and toggle the Visibility switch off or unpublish the page.
Google Search Console: Use Google Search Console to request the removal of specific URLs from Google’s index.
Vedeți și
Prevent a website from being indexed¶
To prevent a website from appearing in search engine results, go to , then in the Website Info section, add a random value in the Domain field. Doing so automatically inserts the following tag into the page source:
<meta name="robots" content="noindex"/>
This tag instructs search engines not to index the site. After applying the change, it may take several days or weeks for search engines to update their results and remove the website.
Example
This can be used to prevent websites from test databases from appearing in search results.
Sitemap¶
The sitemap points out website pages and their relation to each other to search engine crawlers.
Odoo generates a /sitemap.xml file, including all URLs. For performance reasons, this file is
cached and updated every 12 hours.
Notă
Dacă site-ul dvs. are o mulțime de pagini, Odoo creează automat un fișier Sitemap Index, respectând protocolul sitemaps.org, grupând URL-urile sitemap-urilor în 45000 de bucăți per fișier .
Fiecare intrare din sitemap are trei atribute care sunt calculate automat:
<loc>: URL-ul unei pagini.<lastmod>: data ultimei modificări a resursei, calculată automat pe baza obiectului aferent. Pentru o pagină legată de un produs, aceasta ar putea fi data ultimei modificări a produsului sau a paginii.<prioritate>: modulele își pot implementa algoritmul de prioritate pe baza conținutului lor (de exemplu, un forum poate atribui o prioritate pe baza numărului de voturi pentru o anumită postare). Prioritatea unei pagini statice este definită de câmpul său de prioritate, care este normalizat (16 este valoarea implicită).
Sfat
To prevent pages from appearing in a sitemap, go to , and toggle off the Indexed feature.
robots.txt¶
A robots.txt file instructs search engine crawlers which parts of a website they are permitted to
access. Its primary purpose is to:
Prevent overloading the website: By guiding crawlers away from certain sections, robots.txt helps manage server load.
Control access to resources and detailed descriptions: It can prevent crawlers from accessing media files (images, videos), CSS stylesheets, and JavaScript files, and from reading the content (text) of specific pages.
When indexing your website, search engines first look at the robots.txt file. Odoo automatically
creates one robot.txt file available on mydatabase.odoo.com/robots.txt.
Notă
Reputable bots adhere to robots.txt; others may require blocking via Cloudflare on your custom domain.
Edit robots.txt¶
Editând un fișier robots.txt, puteți controla ce pagini de site sunt accesibile crawlerelor motoarelor de căutare. Pentru a adăuga instrucțiuni personalizate la fișier, accesați , derulați în jos la secțiunea SEO și faceți clic pe Editați robots.txt.
Example
If you do not want robots to crawl the /about-us page of your site, you can edit the
robots.txt file to add Disallow: /about-us.
Important
While robots.txt prevents content from being crawled, it does not guarantee that a page
will not be indexed. A page can still appear in search results if it is linked to from other
crawled pages (indexed by „reference”). Google generally does not recommend using robots.txt to
block webpages that you wish to keep out of search results entirely.
Caracteristici avansate¶
Markup de date structurate¶
Structured data markup is used to generate rich snippets in search engine results. It is a way for websites to send structured data to search engine crawlers, helping them understand your content and create well-presented search results.
În mod implicit, Google acceptă multe „fragmente îmbogățite <https://developers.google.com/search/blog/2009/05/introducing-rich-snippets>”_ pentru tipuri de conținut, inclusiv recenzii, persoane, produse, companii, evenimente , și Organizații.
Microdata este un set de etichete, introduse cu HTML5, care ajută motoarele de căutare să vă înțeleagă mai bine conținutul și să-l afișeze într-un mod relevant. Odoo implementează microdate așa cum sunt definite în „specificația <https://schema.org/docs/gs.html>`_ schema.org pentru evenimente, produse de comerț electronic, postări pe forum și adrese de contact. Acest lucru permite ca paginile dvs. de produse să fie afișate în Google folosind informații suplimentare, cum ar fi prețul și evaluarea unui produs: