html - 如果它们相同,我的 hreflang 在我的 root/index 和 nl/index 上应该如何?
问题描述
我有一个比利时荷兰语的主页,但是因为我正在将我的网站升级为多语言,所以我在 /nl 文件夹中有一份该荷兰语的主页。像这样:
root/index.html (homepage written in dutch (has a good SE ranking))
root/nl-be/index.html (copy of my root/index.html)
root/fr-be/index.html (a fully tranlated homepage)
我不喜欢将我的根主页作为语言选择页面,因为大多数访问者都是荷兰人。这是离开它的正确方法吗?如果是,我的 hreflang 在我的根/索引、nl/index 和 fr/index 上应该是什么样子?我想我应该通过浏览器语言将 302 重定向到 /nl 和 /fr?...请帮助,我正在努力寻找答案几天...
解决方案
推荐阅读
- c++builder - 使用 Indy10 组件从 alphavantage.co 下载
- node.js - Mongoose Schema中数组内的重复值
- angular - 将我的 Angular 6 指令与 DOM 解耦
- ios - 如何通过 Swift 中的 ContainerView 更改 TableView 中项目的属性?
- vba - Excel VBA - 在某些文本后删除部分 URL
- informatica - 带有“ä”等特殊字符的 Informatica 源文件名
- amazon-web-services - 是否可以使用 powershell 脚本创建批量 aws ALB?
- javascript - “===”是反应中的意外标记
- ios - 如何让 iOS 变慢
- javascript - 试图过滤掉对象中的值