Pregunta

Me estoy quedando sola instalación de Magento 1.7 con 2 puntos de vista de las tiendas. Tengo dos dominios que son motor de búsqueda optimizado para Irlanda y Reino Unido. Dado que el contenido es muy similar me gustaría utilizar rel = "alternate" hreflang = "XX":

<link rel="alternate" hreflang="en" href="http://domain.ie/" />
<link rel="alternate" hreflang="en-gb" href="http://domain.co.uk/" />

¿Hay una solución fácil / plugin que permitirá que yo escoja relación entre esos dos puntos de vista de la tienda para la categoría página del producto / / texto?

¿Fue útil?

Solución 2

Since one website is doing well in search results, and second does not rank at all, that's what i figured out:

  • At text pages you can use Layout Update XML (same sa canonical URLs)

<reference name="head"><action method="addLinkRel"><rel>canonical</rel><href>http://www.yoururl.com/goes/here</href></action> </reference>

  • I'll use same products urls at both pages and 301 old entries

  • default actions ( as register / checkout ) have same request uri, so there is no need to change it

  • if product is not available in second store I'll redirect ( 301 ) request to homepage

  • by default header displays rel="alternative" with switched domain address

Otros consejos

Whereas anchor tags in Magento are built piecemeal in templates, there is no central, easy way to do this. Sorry. The only centralized approach of which I can think is to observe the controller_front_send_response_before and execute a complex preg_replace() to rewrite all anchor tags - but you're likely to have a bad time with catching all links.

However, it seems a better approach may be to use sitemaps, at least as far as Google is concerned: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=2620865

Credit to http://www.rimmkaufman.com/blog/advanced-international-seo-rel-alternate-hreflang-x/13122011/ for the sitemap information.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange
scroll top