Jump to content

Seo multilingua


themeleon

Recommended Posts

O meu problema é as descrições dos URL's porque a pagina adequa-se à linguagem do utilizador.

Por exemplo em ingles seria:

http://themeleon.net/list-templates/PJ.WL/Projects/Web-layouts

em pt seria:

http://themeleon.net/list-templates/PJ.WL/Projectos/Paginas-Web

E ah! As meta tag's tambem mudam e isso influencia os resultados de pesquisa no google (e eu queria q a malta dos outros países percebesse os resultados de pesquisa no google associados ao meu site)

Neste momento tenho a filtragem do google a assumir resultados em EN para nao haver problemas.

Edited by themeleon
Link to comment
Share on other sites

  • 2 years later...

Boa tarde,

Estando com dúvidas na utilização de sitemaps num site com vários idiomas, gostaria de aproveitar este tópico para esclarecer se ao utilizar o exemplo dado pela Google

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
 xmlns:xhtml="http://www.w3.org/1999/xhtml">
 <url>
   <loc>http://www.example.com/english/</loc>
   <xhtml:link
			 rel="alternate"
			 hreflang="de"
			 href="http://www.example.com/deutsch/"
			 />
   <xhtml:link
			 rel="alternate"
			 hreflang="de-ch"
			 href="http://www.example.com/schweiz-deutsch/"
			 />
   <xhtml:link
			 rel="alternate"
			 hreflang="en"
			 href="http://www.example.com/english/"
			 />
 </url>

 <url>
   <loc>http://www.example.com/deutsch/</loc>
   <xhtml:link
			 rel="alternate"
			 hreflang="en"
			 href="http://www.example.com/english/"
			 />
 <xhtml:link
			 rel="alternate"
			 hreflang="de-ch"
			 href="http://www.example.com/schweiz-deutsch/"
			 />
 <xhtml:link
			 rel="alternate"
			 hreflang="de"
			 href="http://www.example.com/deutsch/"
			 />
 </url>

 <url>
   <loc>http://www.example.com/schweiz-deutsch/</loc>
 <xhtml:link
			 rel="alternate"
			 hreflang="de"
			 href="http://www.example.com/deutsch/"
			 />
 <xhtml:link
			 rel="alternate"
			 hreflang="en"
			 href="http://www.example.com/english/"
			 />
<xhtml:link
			 rel="alternate"
			 hreflang="de-ch"
			 href="http://www.example.com/schweiz-deutsch/"
			 />
 </url>

</urlset>

...devo adicionar o código habitual:

<url>
 <loc>http://www.example.com/english/quem-somos</loc>
 <priority>0.80</priority>
</url>
<url>
 <loc>http://www.example.com/english/servicos</loc>
 <priority>0.80</priority>
</url>

...ou seja:

 <url>
   <loc>http://www.example.com/english/</loc>
   <xhtml:link
			 rel="alternate"
			 hreflang="de"
			 href="http://www.example.com/deutsch/"
			 />
   <xhtml:link
			 rel="alternate"
			 hreflang="de-ch"
			 href="http://www.example.com/schweiz-deutsch/"
			 />
   <xhtml:link
			 rel="alternate"
			 hreflang="en"
			 href="http://www.example.com/english/"
			 />
 </url>
<url>
 <loc>http://www.example.com/english/quem-somos</loc>
 <priority>0.80</priority>
</url>

Agradeço desde já a vossa ajuda.

Link to comment
Share on other sites

Aquilo que eu faço é algo como:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
 <url>
   <loc>http://example.com/pt/</loc>
   <changefreq>weekly</changefreq>
   <priority>1</priority>
   <xhtml:link rel="alternate" hreflang="pt" href="http://example.com/pt/" />
   <xhtml:link rel="alternate" hreflang="en" href="http://example.com/en/" />
 </url>
 <url>
   <loc>http://example.com/en/</loc>
   <changefreq>weekly</changefreq>
   <priority>1</priority>
   <xhtml:link rel="alternate" hreflang="pt" href="http://example.com/pt/" />
   <xhtml:link rel="alternate" hreflang="en" href="http://example.com/en/" />
 </url>
 <url>
   <loc>http://example.com/pt/contact/</loc>
   <changefreq>never</changefreq>
   <priority>0.2</priority>
   <xhtml:link rel="alternate" hreflang="pt" href="http://example.com/pt/contact/" />
   <xhtml:link rel="alternate" hreflang="en" href="http://example.com/en/contact/" />
 </url>
 <url>
   <loc>http://example.com/en/contact/</loc>
   <changefreq>never</changefreq>
   <priority>0.2</priority>
   <xhtml:link rel="alternate" hreflang="pt" href="http://example.com/pt/contact/" />
   <xhtml:link rel="alternate" hreflang="en" href="http://example.com/en/contact/" />
 </url>
 ...
</urlset>

Ou seja, para cada link do site há uma entrada url (e essa entrada contém os xhtml:link com ligações para variantes da página em várias línguas).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.