URL重定向搜索引擎优化(在Flash中)? [英] URL Redirects for SEO (in Flash)?

查看:173
本文介绍了URL重定向搜索引擎优化(在Flash中)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个Flash网站,并试图使其成为搜索引擎优化。我正在考虑一个可能的解决方案是将html呈现给任何搜索引擎机器人,或任何需要辅助功能的人,以及为其他用户呈现Flash网站。



<第一个问题是,这是可以接受的谷歌和一般的搜索引擎优化?

这意味着我将重定向网址从网站的Flash用户.com / home.html site.com /#/ home 只有当它们不是某种类型的机器人。



第二个问题是,是否可以在javascript或rails中执行此操作?



我会通过捕获URL来做到这一点,检查用户是谁(是谷歌,还是人类),我只是不知道如何做到这一点与JavaScript /铁轨,无论需要。然后,一旦我发现嘿,这是谷歌,我会返回的HTML页面;如果它是一个用户,我会返回闪光灯。



这会工作吗?有什么更好的?

解决方案

这是值得一读谷歌的政策,以伪装,偷偷摸摸的Javascript重定向和门户页面



就我个人而言,我会用HTML构建网站,并使用Flash作为渐进式增强(如适用)。

I am creating a flash site and am trying to make it SEO. I'm thinking a possible solution would be to render html to any search engine bot, or to anyone who needs accessibility, and rendering the flash site for the rest of the users.

First question is, is this acceptable for google, and SEO in general?

This would mean I would redirect urls to flash users from site.com/home.html to site.com/#/home only if they weren't a bot of some sort.

Second question is, is it possible to do this in javascript or rails?

I would do this by capturing the URL, checking to see who the user is (is it google, or is it a human), I'm just not sure how to do this with javascript/rails, whatever need be. Then once I found "hey this is google", I would return the html page; if it was a user, I'd return flash.

Would that work? Is there something better?

解决方案

It'd be worth reading up on Google's policies toward cloaking, sneaky Javascript redirects, and doorway pages.

Personally, I'd build the site in HTML and use the Flash for progressive enhancement where appropriate.

这篇关于URL重定向搜索引擎优化(在Flash中)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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