Does Google follow Buttons/Inputs

老子叫甜甜 提交于 2019-12-23 09:30:43

问题


Does google follow buttons and form inputs when crawling websites? I'm adding rel="nofollow" tags to links I don't want google to follow but I'm not sure if I need to add them to buttons.

For example an 'add to cart' button.

Thanks


回答1:


Generally, no. Especially not POST-based forms; POST may have side-effects per the RFC, while GET is defined as a "safe" method. Google is experimenting with some "deep web" spidering, however, so it's possible that they may request GET-based forms -- but this isn't yet commonplace, as far as I know.

But according to the standards, spiders should not POST.

In fact, the original announcement from google states that they only follow GET-based forms.




回答2:


Your "add to cart" button should either POST a form, or execute JavaScript. Google won't do either of those two things.




回答3:


hi bots don't submit post requests of any kind.

google does follow rel=nofollow links, it just doesn't assume that you are 'vouching' for the content to which they link



来源:https://stackoverflow.com/questions/2038228/does-google-follow-buttons-inputs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!