-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* seo improvements, coordination of details in the config * improve the seo instructional pages
- Loading branch information
Showing
17 changed files
with
157 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
layout: page | ||
title: SEO Recipes | ||
permalink: seo/ | ||
lang: en | ||
description: These additions can help improve the SEO of your multi-language jekyll blog when using Polyglot. | ||
--- | ||
# Receitas para Otimização de Mecanismos de Busca usando Polyglot | ||
|
||
Se você instalou a gema `jekyll-polyglot`, essas adições ao cabeçalho do seu site podem facilmente fornecer ao seu blog jekyll bônus de SEO fornecidos pelo Google. | ||
|
||
## Declaração de Idioma HTML | ||
|
||
Per [W3C Internationalization Best Practices](http://www.w3.org/International/geo/html-tech/tech-lang.html#ri20060630.133615821) | ||
Você pode definir o idioma padrão de cada página com uma meta tag. Basta adicionar o seguinte ao seu cabeçalho: | ||
|
||
{% highlight html %}{% raw %} | ||
<meta http-equiv="Content-Language" content="{{site.active_lang}}"> | ||
{% endraw %} | ||
{% endhighlight %} | ||
|
||
## Multi-language SEO usando hreflang alternate tags | ||
|
||
Você pode facilmente adicionar [hreflang alternate tags](https://support.google.com/webmasters/answer/189077?hl=pt-BR) | ||
ao seu site, obtendo SEO com pesquisas multilíngues do Google. Adicione o seguinte ao seu head: | ||
{% highlight html %} | ||
{% raw %} | ||
<link rel="alternate" | ||
hreflang="{{site.default_lang}}" | ||
href="http://yoursite.com{{page.permalink}}" /> | ||
{% for lang in site.languages %} | ||
{% if lang == site.default_lang %} | ||
{% continue %} | ||
{% endif %} | ||
<link rel="alternate" | ||
hreflang="{{lang}}" | ||
href="http://yoursite.com/{{lang}}{{page.permalink}}" /> | ||
{% endfor %} | ||
{% endraw %} | ||
{% endhighlight %} | ||
|
||
## Todas as anteriores | ||
|
||
Você pode obter tudo isso acima com uma única tag adicionada ao seu `head.html`: | ||
{% highlight html %} | ||
{% raw %} | ||
{% I18n_Headers %} | ||
{% endraw %} | ||
{% endhighlight %} | ||
|
||
Com esse SEO, cada clique em uma página de um idioma do site contará para o total de cliques de todos os idiomas do site. | ||
|
||
## Outras práticas recomendadas de SEO para polyglot | ||
|
||
* sempre certifique-se de especificar as tags `<meta>` para `keywords` e `description` das páginas. Os mecanismos de pesquisa usarão essas tags para indexar melhor as páginas; para sites multilíngues, você deve fornecer valores diferentes para cada subidioma que seu site da web oferece suporte: | ||
|
||
{% highlight html %} | ||
{% raw %} | ||
<meta name="description" content="{{ page.description | default: site.description[site.active_lang] }}"> | ||
<meta name="keywords" content="{{ page.keywords | default: site.keywords[site.active_lang] }}"> | ||
{% endraw %} | ||
{% endhighlight %} |
Oops, something went wrong.