Skip to content

Commit 6c1e483

Browse files
committed
[IMP] website: SEO indexation section restructure
task-5003440 closes #14492 Signed-off-by: Marion Spindler (masp) <[email protected]>
1 parent 3d275ae commit 6c1e483

File tree

6 files changed

+155
-87
lines changed

6 files changed

+155
-87
lines changed

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

Lines changed: 155 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,33 @@ Optimize SEO`.
2828
.. image:: seo/optimize-seo.png
2929
:alt: Optimize SEO
3030

31-
Meta tags
32-
---------
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+
36+
Keywords and Meta tags
37+
----------------------
38+
39+
There are two types of keywords in SEO, which serve different purposes.
40+
41+
In-text keywords
42+
~~~~~~~~~~~~~~~~
43+
44+
In-text keywords appear naturally throughout a page’s visible content (titles, headings, and body
45+
text) and help search engines determine the topic and relevance of the page. These keywords have a
46+
real impact on ranking. They cannot be edited in the :guilabel:`optimize SEO` pop-up.
47+
48+
.. important::
49+
It is strongly recommended to only use one H1 title per page for SEO.
3350

34-
Meta tags are HTML elements that provide information about a webpage to search engines and website
35-
visitors. They play a crucial role in SEO by helping search engines understand the content and
36-
context of a webpage and attract visitors with appealing content. There are two types of meta tags
37-
in Odoo:
51+
Meta tags and meta keywords
52+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
53+
54+
**Meta tags** are HTML elements that provide information about a webpage to search engines and
55+
website visitors. They play a crucial role in SEO by helping search engines understand the content
56+
and context of a webpage and attract visitors with appealing content. They can be edited in the
57+
:guilabel:`optimize SEO` pop-up. There are two types of meta tags in Odoo:
3858

3959
- :guilabel:`Title` tags specify a webpage's title and are displayed as a clickable link in search
4060
engine results. They should be concise, descriptive, and relevant to the page's content. You can
@@ -50,36 +70,15 @@ in Odoo:
5070
The :guilabel:`Preview` card displays how the title and description tags should appear in search
5171
results. It also includes the URL of your page.
5272

53-
Keywords
54-
--------
55-
56-
Keywords are one of the main elements of SEO. A website that is well optimized for search engines
57-
speaks the same language as potential visitors, with keywords for SEO helping them to connect to
58-
your site.
59-
60-
You can enter the keywords you consider essential in the :guilabel:`Keyword` field and click
61-
:guilabel:`ADD` to see how they are used at different levels in your content (H1, H2, page title,
73+
**Meta keywords** are placed in a hidden HTML tag `<meta name="keywords">`. Once used to describe a
74+
page’s topic, this tag is now ignored by major search engines and has little or no impact on SEO.
75+
To edit :guilabel:`Keywords`, enter the keywords you consider essential in this field and click
76+
:guilabel:`Add` to see how they are used at different levels in your content (H1, H2, page title,
6277
page description, page content) and the related searches in Google. The tool also suggests relevant
63-
keywords to drive your web traffic. The more keywords are present on your webpage, the better.
64-
65-
.. tip::
66-
It is strongly recommended to only use one H1 title per page for SEO.
67-
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.
78+
keywords.
8079

8180
Images
82-
======
81+
------
8382

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

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

109-
Advanced features
110-
=================
111-
112-
Structured data markup
113-
----------------------
105+
Image for social share
106+
~~~~~~~~~~~~~~~~~~~~~~
114107

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.
108+
When you share your page on social media, your website logo is selected by default, but you can
109+
search the :doc:`Unsplash image library <../../../general/integrations/unsplash>` or upload any
110+
other image by clicking the :icon:`fa-upload` :guilabel:`(upload)` button.
118111

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.
112+
.. tip::
113+
You can set a default social share image. Go to :menuselection:`Website --> Configuration --> Settings`
114+
in the :guilabel:`SEO`section and tick the :guilabel:`Default Social Share Image` checkbox.
121115

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:
116+
.. note::
117+
- The :guilabel:`Social Preview` card displays how the page's information would appear when
118+
shared.
127119

128-
.. image:: seo/data-markup.png
129-
:alt: snippets in search engine results
120+
Indexation
121+
==========
130122

131-
robots.txt
132-
----------
123+
Website indexation is the process by which search engines, such as Google, discover, analyze, and
124+
store information about a website's content in their database. Search engine bots, known as crawlers
125+
or spiders, visit web pages and follow links to collect data, including text, images, and other
126+
media. The purpose of indexation is to make a website's content searchable and discoverable to
127+
users. Without being indexed, a website or a specific page on that site will not appear in search
128+
engine results, regardless of how relevant or well-designed it is. Indexation is a fundamental step
129+
in :abbr:`SEO (Search Engine Optimization)`, serving as the foundation for a website's visibility
130+
and organic traffic.
133131

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:
132+
.. note::
133+
**When you first create your website on Odoo, it will not appear directly in search engine
134+
results.** Search engines need time to crawl and index it, which can take anywhere from a few
135+
days to several weeks. For Google, you can use the :doc:`Search Console <../configuration/google_search_console>`
136+
and request indexing for specific URLs, though this does not guarantee faster results.
137+
If you have an existing website and are migrating, your previous website may still appear instead
138+
of the new one during that timeframe.
136139

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.
140+
SEO impact when migrating your existing website to Odoo
141+
-------------------------------------------------------
142142

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`.
143+
In most cases, migrating to Odoo will not negatively impact your SEO. While no platform can
144+
guarantee that rankings will remain unchanged, follow these best practices to significantly reduce
145+
the risk.
145146

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.
147+
- Keep your existing content.
149148

150-
Edit robots.txt
151-
~~~~~~~~~~~~~~~
149+
- Implement :ref:`redirects <website/pages/URL-redirection>` from old URLs to their new counterparts.
152150

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`.
151+
- Monitor traffic and indexation to make sure that everything is going well, using :doc:`../configuration/google_search_console`.
156152

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`.
153+
By doing this, you help search engines reindex your site and maintain your visibility in search
154+
results.
160155

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.
156+
.. note::
157+
It is normal to experience a traffic decrease in the first days.
166158

167159
Prevent a page from being indexed
168160
---------------------------------
@@ -191,12 +183,30 @@ methods:
191183
- :doc:`../configuration/google_search_console`
192184
- :doc:`pages`
193185

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

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.
207+
The sitemap points out website pages and their relation to each other to search engine crawlers.
208+
Odoo generates a `/sitemap.xml` file, including all URLs. For performance reasons, this file is
209+
cached and updated every 12 hours.
200210

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

216226
.. 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.
227+
To prevent pages from appearing in a sitemap, go to :menuselection:`Site --> Properties`, and
228+
toggle off the :guilabel:`Indexed` feature.
219229

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

223291
Hreflang HTML tags
224292
------------------
Binary file not shown.
Binary file not shown.
-26.8 KB
Loading
8.48 KB
Loading
41.8 KB
Loading

0 commit comments

Comments
 (0)