小编Jam*_*ami的帖子

"Fetch as Google"不会在使用CloudFront的S3上加载React路由

我在Amazon S3上有一个react-router站点,设置了404重定向到index.html,在那里他们找到了他们需要的代码,并且站点做了它应该做的事情.

在Google网站站长工具中,其中一条路线的"抓取为Google"会显示错误状态:未找到.

我使用自定义错误响应(404到200,响应页面路径/index.html)为该源设置了Cloudfront.

但其中一条路线的"抓取为Google"仍显示错误状态:未找到.

在Chrome或curl中,当我加载http:// [bucketname] .s3-website-us-west-2.amazonaws.com/list/listname/username时,我看到404,但页面会按预期加载.

但是当我加载http:// [randomchars] .cloudfront.net/list/listname/username时,我看到200没有重定向,页面按预期加载.

我已经提交了一个站点地图,其中包含我要编入索引的相关网址,并要求Google抓取该网站.它尚未被抓取,但我现在最好的希望是我看到的一些建议"Fetch as Google"不会遵循重定向,而Googlebot会在它实际抓取网站时.我希望情况确实如此,但如果我错过任何其他显而易见的事情,我很想知道.提前致谢!

googlebot amazon-s3 amazon-web-services amazon-cloudfront react-router

6
推荐指数
1
解决办法
453
查看次数

Open a Google Maps link with multiple markers

We'd like to open a list of locations in a Google Map link. I've explored many possibilities, but I can't find how to do this.

The map I built using the JavaScript API doesn't show a link to Google Maps with markers on it. I hoped for a "View Larger Map" link like in the Embed API, but none of the variables seemed to add that. I tried the Embed API, but it doesn't take multiple markers.

We need to …

javascript google-maps google-maps-api-3

5
推荐指数
1
解决办法
2366
查看次数