appspot.com网址显示在谷歌搜索结果中,而不是自定义域名 [英] appspot.com url shows up in google search results instead of custom domain name

查看:129
本文介绍了appspot.com网址显示在谷歌搜索结果中,而不是自定义域名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立了 http://www.footballverdict.com ,并托管在Google App Engine上。一切正常。您可以毫无问题地访问自定义域名。出于某种原因,当我在Google上搜索足球裁判时,结果显示为startorsit.appspot.com/ask和startorsit.appspot.com/about。主站点没有足球比赛!至少两个月后,我连接了自定义域名。博客子域名确实显示在搜索结果中,但这是因为它不在Google App Engine上托管。

I have set up http://www.footballverdict.com and it's hosted on Google App Engine. Everything works fine. You can visit the custom domain without problems. For some reason when I do a search on Google for "football verdict", the results show startorsit.appspot.com/ask and startorsit.appspot.com/about. There is no footballverdict.com in sight for the main site! It's been at least two months since I hooked up the custom domain. The blog sub-domain does show up in the search results, but that's because it's not hosted on Google App Engine.

有谁知道如何让自定义域进入搜索结果并删除appspot.com子域?

Does anyone know how to get the custom domain into the search results and remove the appspot.com sub-domain?

推荐答案

处理这个问题的最简单方法是让您的应用程序检测if它正在appspot.com上请求,如果是,请将301发送到您的规范域。搜索引擎会选择这个,并开始列出你的规范网站。

The easiest way to handle this is to have your app detect if it's being requested on appspot.com, and if it is, send a 301 to your canonical domain. Search engines will pick up on this and start listing your canonical site instead.

这篇关于appspot.com网址显示在谷歌搜索结果中,而不是自定义域名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆