跳过导航

標籤: 

本主题包含 0 則回覆 ,有 0 声音 。

最后由 rubenM-11 3 months, 3 weeks前 更新。

协助者:: Kor.

作者 文章
16 1 月, 2025 于 5:50 下午 #16603331

rubenM-11

Background of the issue:
I am running some tests to improve the hreflang implementation on our website. Currently, our URLs in other languages end with /?lang=es for Spanish, but I’d like to change this to a format like /es/, as it is better for SEO. After making the changes, everything seems to work correctly.

Symptoms:
I’ve noticed that the old URLs (e.g., /product/g778-stepper/?lang=zh-tw) still function alongside the new URLs (e.g., /zh-tw/product/g778-stepper/).

Questions:
Will the old URLs continue to work indefinitely or might they stop working over time?
Is it necessary to implement redirects for the old URLs?