问题原文
原帖链接 · Krishan Aggarwal · CC BY-SA 3.0
I have created a web application and I want the website to optimized for Search Engines. So, do i need to provide Cross Origin Resource Sharing functionality within my site in order to allow the search engines to read text from my site and display in search results ?
已采纳解答
原帖链接 · Stephen Ostermiller · CC BY-SA 3.0
CORS is for when a website instructs browser to fetch data from another site. That isn't how search engines implement search results. Search engines send robot spiders to crawl and index your site. During this process the text from your pages is copied to them search engine servers. Search engines use their local copy of your page to put a snippet into the search results. They don't have to have the browser fetch it from your site dynamically.
There is no need to implement CORS for SEO.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
