Elxis CMS Forum

Ελληνικό Forum => Γενικά Θέματα για το Elxis CMS => Topic started by: michalis1984 on July 13, 2015, 18:34:48

Title: Μήνυμα απο google για hreflang
Post by: michalis1984 on July 13, 2015, 18:34:48
Πήρα την πιο κάτω ειδοποίηση απο το Google Webmaster Tools

Incorrect hreflang implementation on http://www.

To: Webmaster of http://www.,

Google has detected that some pages on your site have implemented the rel-alternate-hreflang tag incorrectly. In particular, there seems to be a problem with incorrect language and region codes, or incorrect bi-directional linking (if page A links with hreflang to page B, there must be a link back from B to A as well). Google uses the hreflang attributes to serve the correct language or regional URL to the right users in search results.

Until you correct the errors on the hreflang links, your website will not benefit from additional language or region targeting.

See Error Report



Μπαίνοντας στο report μου βγάζει ως προβληματικές τις σελίδες των tags και τις σελιδοποιήσεις των κατηγοριών.
Title: Re: Μήνυμα απο google για hreflang
Post by: datahell on July 17, 2015, 09:25:34
Ποιες γλώσσες έχεις δημοσιευμένες;
Title: Re: Μήνυμα απο google για hreflang
Post by: michalis1984 on July 17, 2015, 15:23:34
Ελληνικά και αγγλικά.

Το θέμα του νομίζω είναι επειδή οι σελίδες των tags όταν αλλάζει γλώσσα οδηγούν στο tags.html

px https://www.elxis.org/el/tags.html?tag=template  αλλάζοντας γλώσσα απο πάνω όλα οδηγούν στο tags.html

Το ίδιο και στις σελιδοποιήσεις αν είσαι πχ στο ?page=8 και αλλάξεις γλώσσα θα σε πάει στην πρώτη σελίδα της κατηγορίας.
Title: Re: Μήνυμα απο google για hreflang
Post by: datahell on July 17, 2015, 17:44:25
Όχι, καμία σχέση με τα tags.

Το Elxis θέτει τα hreflang attributes ως εξής:

<link rel="alternate" hreflang="de" href="http://www.example.org/de/..." />
<link rel="alternate" hreflang="en" href="http://www.example.org/en/..." />
<link rel="alternate" hreflang="el" href="http://www.example.org/el/..." />

Το google "αποφάσισε" ότι τα θέλει έτσι:
<link rel="alternate" hreflang="de-DE" href="http://www.example.org/de/..." />
<link rel="alternate" hreflang="en-GB" href="http://www.example.org/en/..." />
<link rel="alternate" hreflang="el-GR" href="http://www.example.org/el/..." />
Title: Re: Μήνυμα απο google για hreflang
Post by: michalis1984 on July 18, 2015, 01:08:12
Μάλιστα. Ευχαριστώ που το έψαξες.
Title: Re: Μήνυμα απο google για hreflang
Post by: datahell on July 18, 2015, 13:35:11
Θα το φτιάξουμε αυτό στην επόμενη διορθωτική έκδοση του Elxis 4.3.
Title: Re: Μήνυμα απο google για hreflang
Post by: michalis1984 on July 18, 2015, 14:12:23
Τέλεια  ;D