iphone - 智能手机和 Googlebot-mobile 的重定向

标签 iphone android redirect seo mobile-website

我正在为智能手机构建我的网站的移动版本 (iPhone/黑莓/Android/WebOS)

只要用户代理属于上面列出的一种类型(我的移动网站与桌面网站的网址不同),我就想从我的主网站重定向到移动版本。

我的移动版本更像是一个 WebApp,不包含与桌面站点相同的内容。

看完This Post by Google我了解 Googlebot 希望智能手机显示网站的桌面版(Googlebot-Mobile 不适用于智能手机)

我担心如果我重定向到智能手机的移动版本,Google 会因为隐藏真实内容而对我进行处罚,我该如何避免这种情况?

我知道包含从主站点到移动版本的链接,反之亦然。 关于在为智能手机创建网站的移动版本时如何对 google 友好的任何其他建议/最佳实践?

最佳答案

来自文章:

For Googlebot and Googlebot-Mobile, it does not matter what the URL structure is as long as it returns exactly what a user sees too.

关键是您提供给机器人的内容和提供给用户的内容必须保持一致。

文章的另一个有趣摘录:

For now, we expect smartphones to handle desktop experience content so there is no real need for mobile-specific effort from webmasters. However, for many websites it may still make sense for the content to be formatted differently for smartphones, and the decision to do so should be based on how you can best serve your users.

您还可以根据 UA 字符串提供不同的页面/内容/样式,如文章所述:

If you serve all types of content from www.example.com, i.e. serving desktop-optimized content or mobile-optimized content from the same URL depending on the User-agent, this will also lead to correct crawling by Googlebot and Googlebot-Mobile. This is not considered cloaking by Google.

我认为这一切都归结为内容/样式的不同之处。如果它只是略有不同,我可能会使用相同的 url 为两者提供服务。如果它有很大不同,我会为智能手机使用不同的 url。

希望这对您有所帮助!

关于iphone - 智能手机和 Googlebot-mobile 的重定向,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5981916/

相关文章:

iphone - 无法在 UIView 中制作流畅的动画

iphone - 在 iPad 上按顺序加载多张图像

java.lang.NullPointerException : Attempt to invoke virtual method 'java.io.File com.parse.ParsePlugins.getParseDir()' on a null object reference. 解析

apache - 域重定向到www时如何将www子域重定向到非www

php - Laravel 重定向::withInput()

iphone - 带有徽章编号的 UISegmentedControl

IOS:如何在 UIWebview 中逐页显示文档

安卓 fragment 问题

android - 在应用程序中放置 Asynctask 的位置

.htaccess - 如何使用 htaccess 重定向带有通配符的路径