我们可以使用的工作门户网站angularjs? [英] Can we use angularjs for job portals?

查看:246
本文介绍了我们可以使用的工作门户网站angularjs?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关工作的门户,我们做SEO做?如果我们使用angularjs为jobportal网站,它将使搜索引擎优化的任何问题?

For job portals, do we make SEO? If we use angularjs for jobportal site, will it make any issues on SEO?

请帮我弄这个的想法。在此先感谢

Kindly help me to get an idea on this. Thanks in advance

推荐答案

你可以肯定在任何你喜欢它的应用程序的JavaScript框架使用的角度。现在关于搜索引擎优化,早些时候角度出来有没有对SEO太多的东西,但如果你这样做适当的研究(谷歌它),你会发现吨关于如何使您的应用程序搜索引擎友好的好文章。

you can use angular for sure where ever you like its a JavaScript framework for applications. Now about SEO, earlier when angular came out there was not much stuff on SEO but If you do proper research (Google it) you will find tons of good articles about how to make your APP SEO friendly.

由于 2014年5月谷歌爬虫现在执行JavaScript - 您可以使用谷歌网站管理员工具,以更好地了解您的网站是如何通过谷歌提供的

Since May 2014 Google crawlers now executes JavaScript - you can use the Google Webmaster Tools to better understand how your sites are rendered by Google.

您可以使用pushState的这改变了浏览器顶部栏中的URL无需重新加载页面。假设你有一个包含选项卡的页面。这些选项卡隐藏和显示内容,内容是动态插入,或者使用AJAX或通过简单的设置显示:无和显示:块隐藏和显示正确的选项卡的内容。

you could use PushState which changes the URL in the top browser bar without reloading the page. Say you have a page containing tabs. The tabs hide and show content, and the content is inserted dynamically, either using AJAX or by simply setting display:none and display:block to hide and show the correct tab content.

当被点击的标签,使用pushState的更新地址栏中的网址。当呈现页面,请在地址栏中的数值来决定要显示哪些选项卡。角路由会自动为你做到这一点。

When the tabs are clicked, use pushState to update the url in the address bar. When the page is rendered, use the value in the address bar to determine which tab to show. Angular routing will do this for you automatically.

不要使用HashBangs#!
Hashbang的网址是一个丑陋的权宜之计要求开发者在一个特殊的位置,提供了一个网站的pre-渲染的版本。他们仍然可以工作,但你并不需要使用它们。

Don't use HashBangs #! Hashbang urls were an ugly stopgap requiring the developer to provide a pre-rendered version of the site at a special location. They still work, but you don't need to use them.

Hashbang网址是这样的:

Hashbang URLs look like this:

domain.com/#!path/to/resource

这将与这样的元标记配对:

This would be paired with a metatag like this:

<meta name="fragment" content="!">

谷歌不会以这种形式对其进行索引,而改从_escaped_fragments_ URL和索引拉动网站的静态版本。

Google will not index them in this form, but will instead pull a static version of the site from the _escaped_fragments_ URL and index that.

pushState的网址看起来就像任何普通的网址:

Pushstate URLs look like any ordinary URL:

domain.com/path/to/resource

此问题是由@superluminary如果您单击下面的链接,你会发现原来的职位,更实用的东西已经回答的细节。

This question is already answered in detail by @superluminary If you click the following link you will find the original post and more useful stuff.

如何搜索引擎处理AngularJS应用程序?

这篇关于我们可以使用的工作门户网站angularjs?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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