[IMP] Update URL Handling to Meta Tags sections
This commit is contained in:
parent
314d0768d0
commit
42243d11e1
@ -294,7 +294,7 @@ URLs Structure
|
|||||||
|
|
||||||
A typical Odoo URL will look like this:
|
A typical Odoo URL will look like this:
|
||||||
|
|
||||||
https://www.mysite.com/fr\_FR/shop/product/my-great-product-31
|
- https://www.mysite.com/fr\_FR/shop/product/my-great-product-31
|
||||||
|
|
||||||
With the following components:
|
With the following components:
|
||||||
|
|
||||||
@ -330,32 +330,23 @@ an example, the following URLs all do a 301 redirect to the above URL:
|
|||||||
- http://mysite.com/fr\_FR/shop/product/other-product-name-31 (old
|
- http://mysite.com/fr\_FR/shop/product/other-product-name-31 (old
|
||||||
product name)
|
product name)
|
||||||
|
|
||||||
This could be useful to easily get shorter version of an URL and handle
|
|
||||||
efficiently 301 redirects when the name of your product changes over
|
|
||||||
time.
|
|
||||||
|
|
||||||
Some URLs have several dynamic parts, like this one (a blog category and
|
Some URLs have several dynamic parts, like this one (a blog category and
|
||||||
a post):
|
a post):
|
||||||
|
|
||||||
- https://www.odoo.com/blog/company-news-5/post/the-odoo-story-56
|
- https://www.odoo.com/blog/company-news-5/post/the-odoo-story-56
|
||||||
|
|
||||||
In the above example:
|
In the above example:
|
||||||
|
|
||||||
- Company News: is the title of the blog
|
- *Company News* is the title of the blog
|
||||||
|
|
||||||
- The Odoo Story: is the title of a specific blog post
|
- *The Odoo Story* is the title of a specific blog post
|
||||||
|
|
||||||
When an Odoo page has a pager, the page number is set directly in the
|
When an Odoo page has a pager, the page number is set directly in the
|
||||||
URL (does not have a GET argument). This allows every page to be indexed
|
URL (does not have a GET argument). This allows every page to be indexed
|
||||||
by search engines. Example:
|
by search engines. Example:
|
||||||
|
|
||||||
- https://www.odoo.com/blog/page/3
|
- https://www.odoo.com/blog/page/3
|
||||||
|
|
||||||
.. note::
|
|
||||||
Having the language code as fr\_FR is not perfect in terms of SEO.
|
|
||||||
Although most search engines treat now "\_" as a word separator, it has
|
|
||||||
not always been the case. We plan to improve that for Odoo 10.
|
|
||||||
|
|
||||||
Changes in URLs & Titles
|
Changes in URLs & Titles
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
@ -377,32 +368,30 @@ Will automatically redirect to :
|
|||||||
|
|
||||||
In short, just change the title of a blog post or the name of a product,
|
In short, just change the title of a blog post or the name of a product,
|
||||||
and the changes will apply automatically everywhere in your website. The
|
and the changes will apply automatically everywhere in your website. The
|
||||||
old link still works for links coming from external website. (with a 301
|
old link still works for links coming from external websites, with a 301
|
||||||
redirect to not lose the SEO link juice)
|
redirect to not lose the SEO link juice.
|
||||||
|
|
||||||
HTTPS
|
HTTPS
|
||||||
-----
|
-----
|
||||||
|
|
||||||
As of August 2014, Google started to add a ranking boost to secure
|
Search engines boost ranking of secure HTTPS/SSL websites.
|
||||||
HTTPS/SSL websites. So, by default all Odoo Online instances are fully
|
So, by default all Odoo Online instances are fully
|
||||||
based on HTTPS. If the visitor accesses your website through a non HTTPS
|
based on HTTPS. If the visitor accesses your website through a non HTTPS
|
||||||
url, it gets a 301 redirect to its HTTPS equivalent.
|
url, it gets a 301 redirect to its HTTPS equivalent.
|
||||||
|
|
||||||
Links: nofollow strategy
|
Links: Nofollow Strategy
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
Having website that links to your own page plays an important role on
|
The more a page is linked from external and quality websites,
|
||||||
how your page ranks in the different search engines. The more your page
|
the better it is for your SEO.
|
||||||
is linked from external and quality websites, the better is it for your
|
|
||||||
SEO.
|
|
||||||
|
|
||||||
Odoo follows the following strategies to manage links:
|
Here are Odoo strategies to manage links:
|
||||||
|
|
||||||
- Every link you create manually when creating page in Odoo is
|
- Every link you add to your website is
|
||||||
"dofollow", which means that this link will contribute to the SEO
|
"dofollow", which means that this link will contribute to the SEO
|
||||||
Juice for the linked page.
|
Juice for the linked page.
|
||||||
|
|
||||||
- Every link created by a contributor (forum post, blog comment, ...)
|
- Every link posted by a contributor (forum post, blog comment, etc.)
|
||||||
that links to your own website is "dofollow" too.
|
that links to your own website is "dofollow" too.
|
||||||
|
|
||||||
- But every link posted by a contributor that links to an external
|
- But every link posted by a contributor that links to an external
|
||||||
@ -411,19 +400,19 @@ Odoo follows the following strategies to manage links:
|
|||||||
which have a bad reputation.
|
which have a bad reputation.
|
||||||
|
|
||||||
- Note that, when using the forum, contributors having a lot of Karma
|
- Note that, when using the forum, contributors having a lot of Karma
|
||||||
can be trusted. In such case, their links will not have a
|
can be trusted. In such case, their links will not have any
|
||||||
``rel="nofollow"`` attribute.
|
``rel="nofollow"`` attribute.
|
||||||
|
|
||||||
Multi-language support
|
Multi-Language Support
|
||||||
======================
|
======================
|
||||||
|
|
||||||
Multi-language URLs
|
Multi-Language URLs
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
If you run a website in multiple languages, the same content will be
|
If you run a website in multiple languages, the same content will be
|
||||||
available in different URLs, depending on the language used:
|
available in different URLs, depending on the language used:
|
||||||
|
|
||||||
- https://www.mywebsite.com/shop/product/my-product-1 (English version = default)
|
- https://www.mywebsite.com/shop/product/my-product-1 (main language, English here)
|
||||||
|
|
||||||
- https://www.mywebsite.com\/fr\_FR/shop/product/mon-produit-1 (French version)
|
- https://www.mywebsite.com\/fr\_FR/shop/product/mon-produit-1 (French version)
|
||||||
|
|
||||||
@ -431,38 +420,36 @@ In this example, fr\_FR is the language of the page. You can even have
|
|||||||
several variations of the same language: pt\_BR (Portuguese from Brazil)
|
several variations of the same language: pt\_BR (Portuguese from Brazil)
|
||||||
, pt\_PT (Portuguese from Portugal).
|
, pt\_PT (Portuguese from Portugal).
|
||||||
|
|
||||||
Language annotation
|
Language Annotation
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
To tell Google that the second URL is the French translation of the
|
To let search engines know that the second URL is the French translation of the
|
||||||
first URL, Odoo will add an HTML link element in the header. In the HTML
|
first URL, Odoo will add an HTML link element in the header. In the HTML
|
||||||
<head> section of the English version, Odoo automatically adds a link
|
<head> section of the main version, Odoo automatically adds a link
|
||||||
element pointing to the other versions of that webpage;
|
element pointing to the translated versions of that webpage;
|
||||||
|
|
||||||
- <link rel="alternate" hreflang="fr"
|
- <link rel="alternate" hreflang="fr"
|
||||||
href="https://www.mywebsite.com\/fr\_FR/shop/product/mon-produit-1"/>
|
href="https://www.mywebsite.com\/fr\_FR/shop/product/mon-produit-1"/>
|
||||||
|
|
||||||
With this approach:
|
With this approach:
|
||||||
|
|
||||||
- Google knows the different translated versions of your page and will
|
- Search engines will redirect to th right language according to the
|
||||||
propose the right one according to the language of the visitor
|
visitor language.
|
||||||
searching on Google
|
|
||||||
|
|
||||||
- You do not get penalized by Google if your page is not translated
|
- You do not get penalized by search engines if your page is not translated
|
||||||
yet, since it is not a duplicated content, but a different
|
yet. Indeed, it's not a duplicated content, but a different
|
||||||
version of the same content.
|
version of the same content.
|
||||||
|
|
||||||
Language detection
|
Language Detection
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
When a visitor lands for the first time at your website (e.g.
|
When a visitor lands for the first time on your website (e.g.
|
||||||
yourwebsite.com/shop), his may automatically be redirected to a
|
yourwebsite.com/shop), they may automatically be redirected to a
|
||||||
translated version according to his browser language preference: (e.g.
|
translated version according to their browser language preference: (e.g.
|
||||||
yourwebsite.com/fr\_FR/shop).
|
yourwebsite.com/fr\_FR/shop).
|
||||||
|
|
||||||
Odoo redirects visitors to their prefered language only the first time
|
Next time, it keeps a cookie of the current language to
|
||||||
visitors land at your website. After that, it keeps a cookie of the
|
avoid any redirection.
|
||||||
current language to avoid any redirection.
|
|
||||||
|
|
||||||
To force a visitor to stick to the default language, you can use the
|
To force a visitor to stick to the default language, you can use the
|
||||||
code of the default language in your link, example:
|
code of the default language in your link, example:
|
||||||
@ -479,13 +466,12 @@ Titles, Keywords and Description
|
|||||||
Every web page should define the ``<title>``, ``<description>`` and ``<keywords>``
|
Every web page should define the ``<title>``, ``<description>`` and ``<keywords>``
|
||||||
meta data. These information elements are used by search engines to rank
|
meta data. These information elements are used by search engines to rank
|
||||||
and categorize your website according to a specific search query. So, it
|
and categorize your website according to a specific search query. So, it
|
||||||
is important to have titles and keywords in line with what people search
|
is important to have titles and keywords in line with what people seek.
|
||||||
in Google.
|
|
||||||
|
|
||||||
In order to write quality meta tags, that will boost traffic to your
|
In order to write quality content and boost your traffic, Odoo provides
|
||||||
website, Odoo provides a **Promote** tool, in the top bar of the website
|
a keyword finder. For each keyword, you see how it is used through the content
|
||||||
builder. This tool will contact Google to give you information about
|
(H1, H2, page title, page description, page content) and what are the related
|
||||||
your keywords and do the matching with titles and contents in your page.
|
searches in Google. The more keywords are used the better.
|
||||||
|
|
||||||
.. image:: media/seo10.png
|
.. image:: media/seo10.png
|
||||||
:align: center
|
:align: center
|
||||||
|
Loading…
Reference in New Issue
Block a user