seo

Should the TITLE attribute be on images or parent links for SEO? [closed]

旧时模样 提交于 2019-12-13 02:57:30
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . When it comes to linked images and SEO, should the title attribute be used on the <img> tag, the parent <a> tag or both? Common practice seems to be to add the title attribute to the <a> tag. But is this best for SEO? Would there be any harm in adding it to both tags? If not, is there harm in the title text

How to benefit of prerender.io services if my Apache server doesn't allow a proxy

若如初见. 提交于 2019-12-13 02:54:40
问题 Having an Angular app, I want to benefit of an HTML prerendering for Search engines bots. Here's my .htaccess configuration: <IfModule mod_headers.c> RequestHeader set X-Prerender-Token "My_Token" </IfModule> <IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine on <IfModule mod_proxy_http.c> RewriteCond %{HTTP_USER_AGENT} baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest|slackbot|vkShare|W3C_Validator [NC,OR]

Blocking folders inbetween allowed content

自闭症网瘾萝莉.ら 提交于 2019-12-13 01:12:47
问题 I have a site with the following structure: http://www.example.com/folder1/folder2/folder3 I would like to disallow indexing in folder1 , and folder2 . But I would like the robots to index everything under folder3 . Is there a way to do this with the robots.txt? For what I read I think that everything inside a specified folder is disallowed. Would the following achieve my goal? user-agent: * Crawl-delay: 0 Sitemap: <Sitemap url> Allow: /folder1/folder2/folder3 Disallow: /folder1/folder2/

【seo系列】网站的SEO优化(提高搜索引擎收录,类似百度)

半腔热情 提交于 2019-12-12 23:20:43
收录标准(借鉴): 一个新网站只要在百度的三次抓取中保持了3000字以上的原创内容、稳定的页面、静态化的html、合理的标题及描述、稳定的栏目及导航,那么这个网站的收录就不会出现太大的问题。 1、站的内容至少也要在5篇及以上,并且在3000字以上的原创内容(更容易被搜索引擎认可); 抓取原理总结整理: 1、抓取(第一阶段:大小通吃) 广度优先抓取:广度优先抓取是按照网站的树形结构,对一个的层进行的抓取,如果此层没有抓取完成,蜘蛛不会进行下一层的搜索。 (不要出现孤岛链接,也就是说这个链接没有栏目关系) 说明: 1、内容优良而独特的页面,如果您的页面内容和互联网上已存在的其他页面有高度的相似性,可能不会被收录。 2、链接层次较浅的页面。过深的链接层次,尤其是动态网页的链接,会被丢弃而不收录。 3、如果是动态网页,请控制参数的数量和URL的长度。搜狗更偏好收录静态网页。重定向次数越多的页面,越有可能被 sogou spider 丢弃。 2、过滤(网页评级-PageRank) 网站的页面被抓取了并不代表一定会被收录。蜘蛛来抓取了之后,会把数据带回去,放到临时的数据库中,再进行过滤,过滤掉一些垃圾的内容或者是低质量的内容。你页面的信息如果在互联网上有大量的相同信息,搜索引擎就很有可能不为你的网页建立索引。 如果你的网站的页面顺利通过了过滤这一过程,说明页面的内容达到了搜索引擎设定的标准

Site name in Google search results for multi-language websites

对着背影说爱祢 提交于 2019-12-12 22:13:17
问题 Using Schema.org, I can set the name for my website so it’s visible in Google Search: https://developers.google.com/structured-data/site-name Example: <script type="application/ld+json"> { "@context" : "http://schema.org", "@type" : "WebSite", "name" : "Your WebSite Name", "alternateName" : "An alternative name for your WebSite", "url" : "http://www.your-site.com" } </script> What if I have multi-language website? 5 languages → 5 index pages, e.g.: http://www.example.com/en/ Is it right to

AngularJS html5mode and hard 404

♀尐吖头ヾ 提交于 2019-12-12 15:12:02
问题 I have a AngularJS app working with html5mode set to true . Currently, the app shows a soft 404 page, with the .otherwise setting in the router. Is there a way I could serve actual 404 HTTP response, for the sake of SEO while using html5mode? 回答1: If I understand correctly what you want, you have to do the following: hard redirect the browser (bypassing the angular routing) on the otherwise path, with something like this: $routeProvider .otherwise({ controller: function () { window.location

accessing request parameters inside paginator partial

半城伤御伤魂 提交于 2019-12-12 14:11:38
问题 1)how do i access the search $keyword inside the paginator partial to create search freindly urls ? clearly, passing the keyword as $this->view->paginator->keyword doesnt work. 2) currently, the search button's name is also send as param . for eg when searching for 'a' the url becomes http://localhost/search/index/search/a/submit//page/2 . any way to stop this ? Search Form: <form id="search" method="get" action="/search"> <input id="searchfield" onClick="this.value=''" type="text" name=

Unnecessary to add title on ALL links?

人走茶凉 提交于 2019-12-12 13:27:10
问题 I know some SEO, but I have to ask: Is it unnecessary to add title on a link if there is no optimisation for that word or page (for example a link to a "contact page", wich I don't bother to rank high on Google). Or does google some how value that all links have title? <a href="/contact" title="Unnecessary title">Click here to contact us</a> <a href="/contact">Click here to contact us</a> My thought is: Only add title when a) You want to help the page rank on google. or b) If you care about

SEO friendly URL how to best way

这一生的挚爱 提交于 2019-12-12 10:17:54
问题 I have url like the follow: http://new2.silentdivers.com/links.php?lang=en What will be the best way to do SEO freindly URL? Any help needed. lang=en could be, lang=ge, lang=fr etc 回答1: In my opinion the most important thing is that you need to understand that language should be only URL(and/or domain) based. Meaning URL I mean your script should always check only url and take decision what language is chosen. Many people misunderstand it and use cookies or sessions to check them and to

Error: Page contains property “query-input” which is not part of the schema

跟風遠走 提交于 2019-12-12 10:07:57
问题 I get this error from the Google RichSnippets testing tool: Error: Page contains property "query-input" which is not part of the schema. But where did I make a mistake? HTML : <div id="dkAjaxSearch"> <input id="ajaxSearch" type="text" value="" name="search_term" itemprop="query-input"> Press Enter to search </div> JSON-LD : <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://domain.com/", "potentialAction": { "@type": "SearchAction",