seo

Ajax Crawling on Google App Engine - Does HtmlUnit work?

我只是一个虾纸丫 提交于 2019-12-07 10:08:32
问题 http://code.google.com/web/ajaxcrawling/docs/html-snapshot.html Does HtmlUnit work on AppEngine? If not, are there any other ways to make my GWT app crawlable by search engines? 回答1: A patch for HtmlUnit to work on GAE is in progress. HtmlUnit's bug tracker issue 2962074 discusses making HtmlUnit work on GAE, and provides a preliminary patch for accomplishing this. 回答2: it doesn't work on the last GAE version (even after patch applying) to check the post http://groups.google.com/group/google

“alt” attribute on images and “title” attribute on links required in HTML5?

拈花ヽ惹草 提交于 2019-12-07 09:37:00
问题 Me and other developers at our company are struggling with "title" and "alt" attributes. In the past, we added "title"-Tags to all links for SEO purposes (although some of them were annoing talking about usability) and "alt"-Tags on every image on the site, because HTML4 spec said so. Are "title" and "alt"-Tags still required ? If they're not required, do they still have effects on SEO? 回答1: Check the HTML specification to see what is/isn’t required: a element: The (global) title attribute is

Dynamic SEO-friendly URLs

家住魔仙堡 提交于 2019-12-07 09:22:48
问题 I'd like to deploy dynamic URL's for my app in two ways: when viewing available vehicle, I get a link like: http://www.url.com/2006-Acura-MDX-Technology-Package I also have a filter page, so here, the URL will change according to the filters selected like: http://www.url.com/2007-Nissan or http://www.url.com/2007-Nissan-Maxima and so on depending on the filters the user has chosen. What's the best way to go about this? EDIT 1 This now works def get_absolute_url(self): return u'%s-%s-%s-%s-%s'

PHPCMS V9模板制作

三世轮回 提交于 2019-12-07 09:10:19
1、首先下载phpcms v9的集成安装包并安装论坛里很显眼的位置,是个正常人都应该能找得到! 2、安装好打开v9的根目录“phproot→phpcms→templates”文件夹把“default”文件夹复制一份起名“redu” 3、登陆v9后台登录地址:http://localhost/admin.php 用户名:phpcms 密码:phpcms 4、打开界面→模板风格→风格标识redu下的详细列表下的content文件夹 标签解说: {template “content”,”header”} ———- 调用根目录下phpcms\template\content\header文件 {CHARSET} ————————————-字符集 (gbk或者utf-8) {if isset($SEO['title']) && !empty($SEO['title'])} {$SEO['title']}{/if} {$SEO['site_title']} {$SEO['keyword']} {$SEO['description']}上面4条不用我解释了吧,都是标题和标题seo优化 {CSS_PATH} ———————————–地址替换为根目录下tatics\css {JS_PATH}————————————–地址替换为根目录下tatics\js {pc:content action=

how does URL rewrite work in plain english

ⅰ亾dé卋堺 提交于 2019-12-07 08:35:47
问题 I have read a lot about URL rewriting but I still don't get it. I understand that a URL like http://www.example.com/Blog/Posts.php?Year=2006&Month=12&Day=19 can be replaced with a friendlier one like http://www.example.com/Blog/2006/12/19/ and the server code can remain unchanged because there is some filter which transforms the new URL and sends it to the old, but does it replace the URLs in the HTML of the response too? If the server code remains unchanged then it is possible that in my

CakePHP Pagination - how to remove “page:” from url for better seo/cleaner URL

送分小仙女□ 提交于 2019-12-07 08:21:52
问题 When I use CakePHP Paging I get an url like this: http://example.com/php/page:2 What do I have to change in the controller, the view and the routes.php to create a working url like this: http://example.com/php/2 回答1: Try this link: http://www.sakic.net/blog/changing-cakephp-pagination-urls/ 回答2: Oh yes, now I see your question. Well you could do something like: function index($page){ $this->paginate = array('page'=>$page); $this->set('stuff', $this->paginate('YourControllerName')); } See here

sIFR or FLIR?

拟墨画扇 提交于 2019-12-07 07:15:25
问题 I've recently bumped into facelift, an alternative to sIFR and I was wondering if those who have experience with both sIFR and FLIR could shed some light on their experience with FLIR. For those of you who've not yet read about how FLIR does it, FLIR works by taking the text from targeted elements using JavaScript to then make calls to a PHP app that uses PHP's GD to render and return transparent PNG images that get placed as background for the said element, where the overflow is then set to

Sitecore - rewrite “ ” to “-” in urls but still allow dashes as legal item names

时光总嘲笑我的痴心妄想 提交于 2019-12-07 06:05:42
问题 I've read a half dozen guides on rewriting spaces to something more friendly in Sitecore, but all of them rely on Sitecore's <encodeNameReplacements/> element which also reverses the replacement requiring "-" to be an illegal character for names. The problem with this is that the url of our application has a "-" in the hostname. Sitecore rewrites this resulting in a 404. Does anyone have ideas on how to do this url rewriting in Sitecore without relying on <encodeNameReplacements and still

SEO Friendly URL Rewriter Parameters

淺唱寂寞╮ 提交于 2019-12-07 05:40:17
问题 I would appreciate you advice on how to incorporate parameters into SEO Friendly URLs We have decided to have the "techie" parameters first, followed by the "SEO Slug" \product\ABC123\fly-your-own-helicopter much like S.O. - if the SEO Slug changes, or is truncated, or missing, we still have the Product and ABC123 parameters; various articles say that having such extra data doesn't harm SEO ranking. We need to have additional parameters; we could use "-" to separate parameters as it makes

SEO and the use of !# in a url

只愿长相守 提交于 2019-12-07 05:34:01
问题 I read somewhere about how you can create a website that loads each section of a page with AJAX while still providing SEO. It had something to do with the use of !# in a url. Similar to what twitter does. I can't seem to find anything about it anywhere. Does anyone know what I'm talking about? 回答1: #! is called a "hashbang" and they are the root of all that is evil in web development. Basically, weak web developers decided to use #anchor names as a kludgy hack to get "web 2.0" things to work