seo

Can Search Engines Read CSS?

我只是一个虾纸丫 提交于 2019-12-05 05:39:46
I used tag to indicate the importance of a sentence. However, it disrupted the consistency of the page style. So I change it back with CSS. The result is that to visitors it is the same but to search engines(SEs), obviously, different. And this is what SEs are annoying about. So my question is can SEs read CSS, and further judge the whole page with it? If so,is my behavior acceptable or not by SEs. Thank you in advance! Yes, at least searchengines try to determine whether you violate their rules, such as hide/fake content (such as attempting to display seemingly valid semantic content to the

在Yii中重写URL(高级版)

拟墨画扇 提交于 2019-12-05 05:34:45
前两天做了网站SEO方面的URL优化工作。 具体要求是:商品分类的URL中需要有这个分类的汉语拼音出现, 如:http://www.abc.com/category-shafa.html ( 之前的URL大致是这样的: http://www.abc.com/category/index/f/24/c/279/p.html,其中f参数对应分类id ) 分析:在分类表里面添加拼音字段;在url生成之前,将f参数转换成所需的拼音。在解析URL之前,将拼音转换成对应的分类id。 从哪里开始入手呢,首先想到的是在main.php中的urlManage配置中德rules数组中添加规则, 难题来了,id转换成拼音是需要查数据库的,在main.php中查数据库只能用原生的sql来查询,不但影响系统的扩展,还会破坏配置文件的整洁性。 于是乎,查了一下Yii的API,发现Yii的扩展性做的相当出色,rules参数里面还可以传入数组,而CUrlManager只是递归处理了一下这个rules就解决了数组参数。很佩服yii的设计者,复杂问题却用如此简单的几步就解决了(代码就不贴出来了)。 下面是API中的参考例子。 //Starting from version 1.1.8, one can write custom URL rule classes and use them for one or

How implement SEO (Metatags) in Angular 2 (with Angular universal for rendering on server side)?

半腔热情 提交于 2019-12-05 05:04:25
I'm searching a fully working example about SEO or Metatags with Angular 2 using Angular universal to render on server side (to be recognize by facebook, twiter, and other metatags) but I had not success.. I found multiple articles, but there are incomplete (no all source code is available) or oldest (not compile with the latest versions): a) blog.devcross.net/2016/04/17/angular-2-universal-seo-friendly-website/ NOTE: Excelent post with source code, but It's not working. b) builtvisible.com/universal-angular-2-server-side-rendering-seo-crawl-friendliness/ NOTE: Very usefull but with no source

用DIV+CSS的网页布局对SEO的好处

感情迁移 提交于 2019-12-05 03:43:21
DIV+CSS 是网站标准(或称“WEB标准”)中常用术语之一,通常为了说明与HTML网页设计语言中的表格(table)定位方式的区别,因为XHTML网站设计标准中,不再使用表格定位技术,而是采用DIV+CSS的方式实现各种定位。 SEO是指搜索引擎优化,主要就是通过对网站的结构、标签、排版,关键字等各方面的优化,使搜索引擎更容易抓取网站的内容,并且让网站的各个网页在等搜索引擎中获得较高的评分,从而获得较好的排名。DIV+CSS网页布局对 SEO 有很重要的影响。具体来看到底有什么好处呢? DIV+CSS的网页布局对SEO的好处 一、不存在表格的嵌套问题 很多“网站如何推广”的文章中称,搜索引擎一般不抓取三层以上的表格嵌套,这一点一直没有得到搜索引擎相关的官方证实。我的几项实验结果没有完全出来,但根据目前掌握的情况来看,Spider爬行Table布局的页面,遇到多层表格嵌套时,会跳过嵌套的内容或直接放弃整个页面。 使用Table布局,为了达到一定的视觉效果,不得不套用多个表格。如果嵌套的表格中是核心内容,蜘蛛(Spider)爬行时跳过了这一段没有抓取到页面的核心,这个页面就成了相似页面。网站中过多的相似页面会影响排名及域名信任度。 DIV+CSS的网页布局对SEO的好处 二、精简的代码 使用DIVCSS布局,页面代码精简,这一点相信对XHTML有所了解的都知道

Is there anyway of making json data readable by a Google spider?

China☆狼群 提交于 2019-12-05 03:37:59
Is it possible to make JSON data readable by a Google spider? Say for instance that I have a JSON feed that contains the data for an e-commerce site. This JSON data is used to populate a human-readable page in the users browser. (I.E. The translation from JSON data to human displayed page is done inside the users browser; not my choice, just what I've been given to work with, its an old legacy CGI application and not an actual server-side scripting language.) My concern here is that, the google spiders will not be able to pickup/directly link to the item in question when a user clicks on it in

Can I use the “Host” directive in robots.txt?

∥☆過路亽.° 提交于 2019-12-05 03:16:27
Searching for specific information on the robots.txt , I stumbled upon a Yandex help page on this topic. It suggests that I could use the Host directive to tell crawlers my preferred mirror domain: User-Agent: * Disallow: /dir/ Host: www.myhost.com Also, the Wikipedia article states that Google too understands the Host directive, but there wasn’t much (i.e. none) information. At robotstxt.org , I didn’t find anything on Host (or Crawl-delay as stated on Wikipedia). Is it encouraged to use the Host directive at all? Are there any resources at Google on this robots.txt specific? How is

Laravel - append a trailing slash in routes

不想你离开。 提交于 2019-12-05 02:23:37
问题 As I mentioned several times here, I'm redoing one of my old sites with Laravel. Another problem I encounter is the following : I've got mainly two different types of urls on the old website : /user-slug/ for the users homepage, and /user-slug/content-slug.html for one of its content I managed to recreate the second one, but Laravel always trims the last slash when I try to create a link to the user route, and I end with an url like /user-slug I don't want to lose any SEO when switching the

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

HSTS preload list - possible SEO issue for www sites

久未见 提交于 2019-12-05 00:27:00
问题 Let me explain a real world situation here. I run the website https://www.liloo.ro and I want to enable HSTS (+HSTS preload) for it. The problem is that in order to submit it to the preload list the main domain has to respond with a HSTS header. Let me be more precise: In order to submit a site to the preload list and meet the requirements the first redirect has to be to the https version of the main domain. In my case I can't redirect from http directly to https + www -> I have to redirect

Whats the best way to use multiple languages on a website?

江枫思渺然 提交于 2019-12-05 00:18:07
问题 I was wondering what would be the best way to achieve a multi-language template based website. So say I want to offer my website in Englisch and German there are some different methods. My interest is mainly about SEO, so which would be the best way for search engines. The first way that I often see is using different directories for each language, for example www.example.com for English and www.example.com/de/ for the German translation. The disadvantage of this is: when changing a file, ist