GWT SE friendly application

不打扰是莪最后的温柔 提交于 2019-12-05 00:31:51

问题


How can I develop 'Search Engine Friendly' web app in GWT? Take an example of StackOverflow itself, it's a web app and should be SEO friendly allowing users to search from search engines. If someone wants to develop same app in GWT. How can one make it SEO friendly?

GWT contains a single HTML file. How can we allow its inner content to be visible in SE?

Any suggestion or comment, will really help. Thank you.


回答1:


Make it crawlable ... this could be helpful http://code.google.com/web/ajaxcrawling/




回答2:


As someone who has done this before, I want to warn you. If you are going to do a small application and want to be searched by google, great. http://code.google.com/web/ajaxcrawling/ will work. If you want to build a tool that includes bing, then you will be out of luck. You are better off breaking up your navigation with HTML and embedding your GWT in one of the pages.

Until all search engines can handle this, you will spend precious resources trying to work redirection and carefully reviewing search engine results.




回答3:


When building an SPA, you don't have to do anything specific for Google anymore. Google's AJAX crawling scheme has been deprecated been Google.

You just have to make sure your website serves your users well, and that it is convenient to use. Google will crawl it in a way relatively close to your user experience.

Should you want to do more, however, you can use Prerender. I would recommend checking that article:

  • https://moz.com/blog/optimizing-angularjs-single-page-applications-googlebot-crawlers


来源:https://stackoverflow.com/questions/2445608/gwt-se-friendly-application

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