qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
545 stars 103 forks source link

Firstpage redirects 301 #1376

Open andreysneg opened 9 months ago

andreysneg commented 9 months ago

This is Slug plugin problem.

Test with hreflang online test tool all qtranslate xt sites and you see errors - all firspage languages have 301 redirect bug.

But othes pages dont have this problem.

For example hreflang tester tool: https://technicalseo.com/tools/hreflang/

WPML dont have this bug.

andreysneg commented 9 months ago

Hello,

We are developers who have been using the qtranslate module for website development on WordPress for quite some time. We consider it to be one of the best solutions available, as it efficiently conserves server resources for multilingual websites. The module has been well-designed and is user-friendly.

However, as mentioned earlier, the issue we've encountered with hREFLang links poses challenges for SEO optimizers and prevents us from properly configuring the language versions of our site for Google. This problem is quite significant, and resolving it on our own is beyond our capabilities. We are also hesitant to delve into the code of third-party developers.

We would greatly appreciate your assistance in identifying and addressing this issue. It is a pressing matter, as SEO specialists working on various websites are unable to complete their tasks and are requesting developers to resolve the situation.

Please help us find a solution to this problem. Your assistance is invaluable to us.

spleen1981 commented 9 months ago

Can you double check this issue does not happen also with slugs module disabled? Slugs module should not do anything different from core plugin as per https://github.com/qtranslate/qtranslate-xt/issues/1359#issuecomment-1666911658 with hreflang.

andreysneg commented 9 months ago

Default language - English. ( first )

Tester 1 - https://technicalseo.com/tools/hreflang/ Tester 2 - https://hreflangchecker.com

=== Slugs plugins - disabled ====

Option Hide URL language information for default language - Enabled

Test 1 https://bit.ly/3t8bRDo

Test 2 https://bit.ly/3RBjQmH

Option Hide URL language information for default language - Disabled

Test 1 - full error https://bit.ly/3ESlclp

Test 2 - best result https://bit.ly/46ksGJA

=== Slugs plugins - enabled ====

Only default language - status 200. Others - status 301.

Option Hide URL language information for default language - Enabled

Test 1. https://bit.ly/3RDaI0O

Test 2. https://bit.ly/3ET6Tx2

Option Hide URL language information for default language - Disabled

Test 1 - full error https://bit.ly/466uTsp

Test 2 - many redirects https://bit.ly/468eF20

p.s. error NOT INDEXABLE. maybe must be meta tags robot = 'indexable' ? why not indexable