Skip to content

Commit 3264adf

Browse files
committed
[IMP] website: SEO indexation section restructure
task-5003440
1 parent 01b5bd7 commit 3264adf

File tree

6 files changed

+129
-68
lines changed

6 files changed

+129
-68
lines changed

content/applications/websites/website/structure/seo.rst

Lines changed: 129 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Optimize SEO`.
2828
.. image:: seo/optimize-seo.png
2929
:alt: Optimize SEO
3030

31+
.. note::
32+
If you change the title of a blog post or the name of a product, the link to the related webpage
33+
is automatically updated. The old link still functions as Odoo creates a
34+
:ref:`301 redirect <website/pages/URL-redirection>`, maintaining the SEO.
35+
3136
Meta tags
3237
---------
3338

@@ -65,21 +70,8 @@ keywords to drive your web traffic. The more keywords are present on your webpag
6570
.. tip::
6671
It is strongly recommended to only use one H1 title per page for SEO.
6772

68-
Image for social share
69-
----------------------
70-
71-
When you share your page on social media, your logo image is selected, but you can upload any other
72-
image by clicking the upward arrow.
73-
74-
.. Note::
75-
- The :guilabel:`Social Preview` card displays how the page's information would appear when
76-
shared.
77-
- If you change the title of a blog post or the name of a product, the changes apply
78-
automatically everywhere on your website. The old link still functions when external websites
79-
use a :ref:`301 redirect <website/pages/URL-redirection>`, maintaining the SEO link juice.
80-
8173
Images
82-
======
74+
------
8375

8476
The size of images has a significant impact on page speed, which is an essential criterion for
8577
search engines to optimize SEO ranking.
@@ -97,72 +89,65 @@ efficiently.
9789
**To modify an image** from your website, select the image, click :guilabel:`Edit`, then go to the
9890
:guilabel:`Customize` tab, and adapt the :guilabel:`Format` in the :guilabel:`Image` section.
9991

100-
.. image:: seo/image-format.png
101-
:alt: automated image compression
102-
10392
.. important::
10493
Alt tags are used to provide context to what an image is displaying, informing search engine
10594
crawlers and allowing them to index an image correctly. Adding alt tags keywords in the
10695
:guilabel:`Description` field is essential from an SEO perspective. This description is added to
10796
the HTML code of your image, and it is shown when the image cannot be displayed.
10897

109-
Advanced features
110-
=================
98+
Image for social share
99+
~~~~~~~~~~~~~~~~~~~~~~
111100

112-
Structured data markup
113-
----------------------
101+
When you share your page on social media, your website logo is selected by default, but you can
102+
search the :doc:`Unsplash image library <../../../general/integrations/unsplash>` or upload any
103+
other image by clicking the :icon:`fa-upload` :guilabel:`(upload)` button.
114104

115-
Structured data markup is used to generate rich snippets in search engine results. It is a way for
116-
websites to send structured data to search engine robots, helping them understand your content and
117-
create well-presented search results.
105+
.. tip::
106+
You can set a default social share image. Go to :menuselection:`Website --> Configuration --> Settings`
107+
in the :guilabel:`SEO`section and tick the :guilabel:`Default Social Share Image` checkbox.
118108

119-
By default, Google supports many `rich snippets <https://developers.google.com/search/blog/2009/05/introducing-rich-snippets>`_
120-
for content types, including Reviews, People, Products, Businesses, Events, and Organizations.
109+
.. note::
110+
- The :guilabel:`Social Preview` card displays how the page's information would appear when
111+
shared.
121112

122-
Microdata is a set of tags, introduced with HTML5, that help search engines better understand your
123-
content and display it in a relevant way. Odoo implements microdata as defined in the schema.org
124-
`specification <https://schema.org/docs/gs.html>`_ for events, eCommerce products, forum posts, and
125-
contact addresses. This allows your product pages to be displayed in Google using extra information
126-
like the price and rating of a product:
113+
Indexation
114+
==========
127115

128-
.. image:: seo/data-markup.png
129-
:alt: snippets in search engine results
116+
Website indexation is the process by which search engines, such as Google, discover, analyze, and
117+
store information about a website's content in their database. Search engine bots, known as crawlers
118+
or spiders, visit web pages and follow links to collect data, including text, images, and other
119+
media. The purpose of indexation is to make a website's content searchable and discoverable to
120+
users. Without being indexed, a website or a specific page on that site will not appear in search
121+
engine results, regardless of how relevant or well-designed it is. Indexation is a fundamental step
122+
in :abbr:`SEO (Search Engine Optimization)`, serving as the foundation for a website's visibility
123+
and organic traffic.
130124

131-
robots.txt
132-
----------
125+
.. note::
126+
**When you first create your website on Odoo, it will not appear directly in search engine
127+
results.** Search engines need time to crawl and index it, which can take anywhere from a few
128+
days to several weeks. For Google, you can use the :doc:`Search Console <../configuration/google_search_console>`
129+
and request indexing for specific URLs, though this does not guarantee faster results.
130+
If you have an existing website and are migrating, your previous website may still appear instead
131+
of the new one during that timeframe.
133132

134-
A `robots.txt` file instructs search engine crawlers which parts of a website they are permitted to
135-
access. Its primary purpose is to:
133+
SEO impact when migrating your existing website to Odoo
134+
-------------------------------------------------------
136135

137-
- **Prevent overloading the website:** By guiding crawlers away from certain sections, robots.txt
138-
helps manage server load.
139-
- **Control access to resources and detailed descriptions:** It can prevent crawlers from accessing
140-
media files (images, videos), CSS stylesheets, and JavaScript files, and from reading the content
141-
(text) of specific pages.
136+
In most cases, migrating to Odoo will not negatively impact your SEO. While no platform can
137+
guarantee that rankings will remain unchanged, follow these best practices to significantly reduce
138+
the risk.
142139

143-
When indexing your website, search engines first look at the robots.txt file. Odoo automatically
144-
creates one robot.txt file available on `mydatabase.odoo.com/robots.txt`.
140+
- Keep your existing content.
145141

146-
.. note::
147-
Reputable bots adhere to robots.txt; others may require blocking via
148-
:ref:`Cloudflare <domain-name/naked/cloudflare>` on your custom domain.
142+
- Implement :ref:`redirects <website/pages/URL-redirection>` from old URLs to their new counterparts.
149143

150-
Edit robots.txt
151-
~~~~~~~~~~~~~~~
144+
- Monitor traffic and indexation to make sure that everything is going well, using :doc:`../configuration/google_search_console`.
152145

153-
By editing a robots.txt file, you can control which site pages are accessible to search engine
154-
crawlers. To add custom instructions to the file, go to :menuselection:`Website --> Configuration
155-
--> Settings`, scroll down to the :guilabel:`SEO` section, and click :guilabel:`Edit robots.txt`.
146+
By doing this, you help search engines reindex your site and maintain your visibility in search
147+
results.
156148

157-
.. example::
158-
If you do not want robots to crawl the `/about-us` page of your site, you can edit the
159-
robots.txt file to add `Disallow: /about-us`.
160-
161-
.. important::
162-
While `robots.txt` prevents content from being crawled, **it does not guarantee that a page
163-
will not be indexed**. A page can still appear in search results if it is linked to from other
164-
crawled pages (indexed by "reference"). Google generally does not recommend using robots.txt to
165-
block webpages that you wish to keep out of search results entirely.
149+
.. note::
150+
It is normal to experience a traffic decrease in the first days.
166151

167152
Prevent a page from being indexed
168153
---------------------------------
@@ -191,12 +176,30 @@ methods:
191176
- :doc:`../configuration/google_search_console`
192177
- :doc:`pages`
193178

179+
Prevent a website from being indexed
180+
------------------------------------
181+
182+
To prevent a website from appearing in search engine results, go to
183+
:menuselection:`Configuration --> Settings`, then in the :guilabel:`Website Info` section, add a
184+
random value in the :guilabel:`Domain` field. Doing so automatically inserts the following tag into
185+
the page source:
186+
187+
.. code-block:: html
188+
189+
<meta name="robots" content="noindex"/>
190+
191+
This tag instructs search engines not to index the site. After applying the change, it may take
192+
several days or weeks for search engines to update their results and remove the website.
193+
194+
.. example::
195+
This can be used to prevent websites from test databases from appearing in search results.
196+
194197
Sitemap
195-
-------
198+
=======
196199

197-
The sitemap points out website pages and their relation to each other to search engine robots. Odoo
198-
generates a `/sitemap.xml` file, including all URLs. For performance reasons, this file is cached
199-
and updated every 12 hours.
200+
The sitemap points out website pages and their relation to each other to search engine crawlers.
201+
Odoo generates a `/sitemap.xml` file, including all URLs. For performance reasons, this file is
202+
cached and updated every 12 hours.
200203

201204
.. note::
202205
If your website has a lot of pages, Odoo automatically creates a Sitemap Index file, respecting
@@ -214,11 +217,69 @@ Every sitemap entry has three attributes that are computed automatically:
214217
a static page is defined by its priority field, which is normalized (16 is the default).
215218

216219
.. tip::
217-
To prevent pages from appearing in a sitemap, go to :menuselection:`Site --> Properties`, click
218-
the :guilabel:`Publish` tab, and turn off the :guilabel:`Indexed` feature.
220+
To prevent pages from appearing in a sitemap, go to :menuselection:`Site --> Properties`, and
221+
toggle off the :guilabel:`Indexed` feature.
219222

220223
.. image:: seo/page-properties.png
221-
:alt: disabling the “Indexed” checkbox
224+
:alt: toggle off the “Indexed” field
225+
226+
robots.txt
227+
==========
228+
229+
A `robots.txt` file instructs search engine crawlers which parts of a website they are permitted to
230+
access. Its primary purpose is to:
231+
232+
- **Prevent overloading the website:** By guiding crawlers away from certain sections, robots.txt
233+
helps manage server load.
234+
- **Control access to resources and detailed descriptions:** It can prevent crawlers from accessing
235+
media files (images, videos), CSS stylesheets, and JavaScript files, and from reading the content
236+
(text) of specific pages.
237+
238+
When indexing your website, search engines first look at the robots.txt file. Odoo automatically
239+
creates one robot.txt file available on `mydatabase.odoo.com/robots.txt`.
240+
241+
.. note::
242+
Reputable bots adhere to robots.txt; others may require blocking via
243+
:ref:`Cloudflare <domain-name/naked/cloudflare>` on your custom domain.
244+
245+
Edit robots.txt
246+
---------------
247+
248+
By editing a robots.txt file, you can control which site pages are accessible to search engine
249+
crawlers. To add custom instructions to the file, go to :menuselection:`Website --> Configuration
250+
--> Settings`, scroll down to the :guilabel:`SEO` section, and click :guilabel:`Edit robots.txt`.
251+
252+
.. example::
253+
If you do not want robots to crawl the `/about-us` page of your site, you can edit the
254+
robots.txt file to add `Disallow: /about-us`.
255+
256+
.. important::
257+
While `robots.txt` prevents content from being crawled, **it does not guarantee that a page
258+
will not be indexed**. A page can still appear in search results if it is linked to from other
259+
crawled pages (indexed by "reference"). Google generally does not recommend using robots.txt to
260+
block webpages that you wish to keep out of search results entirely.
261+
262+
Advanced features
263+
=================
264+
265+
Structured data markup
266+
----------------------
267+
268+
Structured data markup is used to generate rich snippets in search engine results. It is a way for
269+
websites to send structured data to search engine crawlers, helping them understand your content and
270+
create well-presented search results.
271+
272+
By default, Google supports many `rich snippets <https://developers.google.com/search/blog/2009/05/introducing-rich-snippets>`_
273+
for content types, including Reviews, People, Products, Businesses, Events, and Organizations.
274+
275+
Microdata is a set of tags, introduced with HTML5, that help search engines better understand your
276+
content and display it in a relevant way. Odoo implements microdata as defined in the schema.org
277+
`specification <https://schema.org/docs/gs.html>`_ for events, eCommerce products, forum posts, and
278+
contact addresses. This allows your product pages to be displayed in Google using extra information
279+
like the price and rating of a product:
280+
281+
.. image:: seo/rich-snippet.png
282+
:alt: snippets in search engine results
222283

223284
Hreflang HTML tags
224285
------------------
Binary file not shown.
Binary file not shown.
-26.8 KB
Loading
24.6 KB
Loading
369 KB
Loading

0 commit comments

Comments
 (0)