seo

MySql Modified preorder tree to create url

强颜欢笑 提交于 2019-12-04 05:00:30
问题 This question is based on my previous question on stackoverflow. This time I am trying to generate urls for all the rows in pages table using the Modified Preorder Tree method. Here are the MySql Tables: [Note: I have added the 'parent' column just for the viewers to understand the parent-child relationship in the category table. The actual Modified Preorder Tree method does not use parent column (parent-child relationship)] Category table : Pages table I am trying to write a mysql query that

Is it useless to add `nofollow` using Javascript?

喜你入骨 提交于 2019-12-04 04:46:48
AFAIK, the rel="nofollow" attribute on links instruct search engines not to follow through the link when it crawls your site, therefore severing all assumption of relationship between your site and the linked site, and therefore, not sharing any of your SEO goodness. For the most part, that's a Good Thing™ on a comment system. Now, after integrating an IntenseDebate system on my site, I noticed that the commenter names link through their respective websites without nofollow . This kind of raised an alarm in my head --- that is, until I realized that these were generated dynamically via AJAX.

Is it OK to have multiple items of the same Schema.org type on a page?

这一生的挚爱 提交于 2019-12-04 04:07:12
问题 I have a site which has three places where I would use Schema.org’s Organization ( itemtype="http://schema.org/Organization" ): the contact information with the affiliation for the contact person the site logo a profile for another organization How will search engines tell these three apart? The first two point to the same organization, but in different contexts. The last one does not represent our site at all but is a detailed profile for another organization. Will search engines know which

Is alt the same as alt=“”?

偶尔善良 提交于 2019-12-04 03:51:26
问题 I'm adding alt attributes to all my images to improve SEO/screen reader performance. Per best practice, images that are purely aesthetic should have an empty alt attribute alt="" so screen readers skip over them. I'm in WordPress and noticed it does add alt to these descriptionless aesthetic images, but not alt="" . Does alt get read the same as alt="" by screen readers and search engine crawlers, or should I go in and programatically force an alt="" ? 回答1: Yes, it's the same: https://www.w3

How to open google ad on new tab?

ε祈祈猫儿з 提交于 2019-12-04 02:27:31
问题 Whenever a visitor clicks a Google Ad on the site, the Ad opens in the same page, replacing my site. And I will loose visitor. So my question is: can we do something so that whenever a site visitor clicks on a Google Ad, it will open in a new tab ? Is there any script that needs to be changed ? I tried a target="_blank" but this is also not working 回答1: As adsense policy they do not allow Google ads to open in a new window. . In DoubleClick for Publishers To change the target window setting

How to view the page source for angular 2 app

≯℡__Kan透↙ 提交于 2019-12-04 02:04:14
问题 I have web app, whenever i am view the page source using browser view page source i am only able to see the index.html contents in page source where as i am able to see the all the html code in inspect element but not in page source. Does any one how to view the page source ?? Below is the server.ts 回答1: It is only possible with Angular Universal (server side rendering). Every javascript files renders in browser, to see page source you have to setup Angular 2 to render on server side. It's

jquery load() and SEO - anyone got a decent answer?

余生长醉 提交于 2019-12-04 01:09:32
问题 Many aspects of my site are dynamic. I am using jquery. I have a div which once the DOM is ready is populated using load(). Then if a button is clicked, using load() once again, this value is replaced by another value. This kind of setup is common across my site. My homepage is essentially lots of dynamically loaded, refreshed, and changeable content. What are the repercussions of this for SEO? Ive seen sites where each page is loaded using load() and then displayed using the animation

Is multiple description meta tags valid?

人盡茶涼 提交于 2019-12-04 01:06:02
Is it valid to define multiple meta description with different languages? Is this valid? <meta name="Description" lang="en_US" content="Something in here" /> <meta name="Description" lang="pt-BR" content="Algo aqui" /> <meta name="Description" lang="fo-BA" content="Foo bar" /> It's not a good practice. Most probably the search engines will ignore them or even penalize you for spam. Anyway, why would you have multiple description meta on the same page? I don't really think that your page will be in 3 languages at the same time. I suppose you will have some language selection function or

Is it allowed to use other tags inside <title>?

半世苍凉 提交于 2019-12-04 00:22:26
问题 Is it correct practice or valid syntax to use other tags inside a <title> ? An example for multi-language title <html lang=en> <title>Some title in English and a <i lang=fr>word in French</i></title> 回答1: See http://www.w3.org/TR/html401/struct/global.html#h-7.4.2: Titles may contain character entities (for accented characters, special characters, etc.), but may not contain other markup (including comments) . (my emphasis) 回答2: No, it may not http://www.w3.org/Provider/Style/TITLE.html 回答3:

为什么要做外链建设?seo优化与发布外链速度有哪些联系?

痞子三分冷 提交于 2019-12-04 00:06:42
对于SEO员工来说,我们每天都在处理网页。从内容创建的角度来看,我们每天创建大量的URL并进入索引状态。与网站的受欢迎程度相比,网站每天也会生成大量的外部链接。 实际上,相对于链接而言,它满足了搜索引擎比较基本的需求。同样,它的产生也会影响网站的开发过程。 根据多年的网站优化经验,赖忠标 将进一步阐述以下内容: 1、站点内链接 与站点内SEO相比,对于站点内链接的增长率对SEO的影响,我们主要尝试通过以下内容来解释,简单理解:大量的URL都被索引,它必须被百度爬虫爬行,但实际上,对于不同的站点,爬行的频率不同每个站点完全不同。. 主要表现如下: (1)新网站 与新站点相比,理论上,如果你的域名不是一个有一定外部资源的旧域名,那么你的爬行频率几乎很小,但实际上,在这个时期,如果你快速生成大量的内容发布,往往会导致大量的内容发布。在很长一段时间内,很难有效地对URL进行爬行和合并高质量索引库。 因此,对于新网站来说,新链接的增长率必须控制在一个合理的范围内,如:每天5-10个链接,而这个周期的重点是提高网站整体的质量,尤其是内容页面。 (2)老网站 与新站相比,旧站具有自然的搜索引擎信任。此时,您可以尝试通过网站管理员背景或网站日志来计算整个站点的频率。 特别是对流行的栏目频道的了解,以及蜘蛛频繁访问的时间周期,所以你将有一个基本的了解,在哪一天的平均捕捉阈值的全站。 此时