Flex 3:项目架构与设计搜索引擎优化

发布于 2024-10-22 10:20:43 字数 404 浏览 1 评论 0原文

我有一个 Flex 3 项目。我遇到的问题之一是 Google 索引的内容并不多。目前,我从 mySQl 数据库中提取数据,因此 Googlebot 看不到网站的大部分内容。

我的目标是增加 Google 索引的内容量、改进 SEO 并改进 SERP。

我认为我应该更改项目的架构并创建单独的“页面”,而不是从数据库中提取数据。因此,就我而言,我将单独编译每个谜题并将其上传到服务器自己的目录中。这样每个谜题中的信息都会被索引。

缺点是,如果我添加一个谜题,我必须在服务器上已有的所有谜题中添加指向它的链接。我必须添加链接,重新编译每个谜题并将其上传到服务器。有办法解决这个问题吗?另外,如果我想将来将一个谜题的一些数据传递到另一个谜题,我将无法做到这一点。

有什么建议吗?

谢谢。

-拉克斯米迪

I've got a Flex 3 project. One of the problems I have is that not very much of its content is indexed by Google. Currently, I pull data from a mySQl database, so the Googlebot doesn't see most of the site.

My goal is to increase the amount of content indexed by Google, improve the SEO, and improve SERPs.

I thought that instead of pulling the data from the database that I would change the project's architecture and create separate "pages". So, in my case, I would compile each puzzle separately and upload it to the server in its own directory. This way the info in each puzzle would get indexed.

The negative is that if I add a puzzle, I'd have to add a link to it in all of the puzzles that are already on the server. I would have to add the link, re-compile each puzzle and upload it to the server. Is there a way to get around this problem? Also, if I wanted to communicate some data from one puzzle to another in the future, I wouldn't be able to do so.

Any suggestions?

Thank you.

-Laxmidi

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

世界和平 2024-10-29 10:20:43

实现这一目标的通常方法是用 HTML 开发一个隐藏的并行站点。
在第一页上,您将看到 Flash 以及通过 javascript 隐藏的指向其他页面的链接列表。这些链接将由机器人解析。理想情况下,href 页面是虚拟的(查找“url 重写”)。在每个“假”页面上,您的服务器端语言将在页面上打印来自数据库和闪存的内容或链接。闪光灯将附带一个字符串,解释它的位置以及它应该显示的内容。

例如: http://www.mysite.com/category1/content7 URL 重写发送此请求到 http://www.mysite.com/index.php?uri=category1/内容7。该页面应显示 FlashVar“uri=category1/content7”的 Flash。 Flash知道它必须显示哪些内容,因此当用户来自谷歌时,点击此链接,他将找到他正在寻找的内容。

每个用于 SEO 的链接和内容都应该采用 HTML 格式,不要相信机器人读取 Flash 的能力。

The usual way to achieve this goal is to develop a hidden parallel site in HTML.
On the first page you will have your flash and, hidden by javascript, a list of links to the other pages. These links will be parsed by the robots. Ideally, the href pages are virtual (look for "url rewriting"). On each "fake" page, your server-side language will print on the page a content or links from your database AND the flash. The flash will be provided with a string explaining where it is and what it's supposed to show.

Ex: http://www.mysite.com/category1/content7 The URL rewriting sends this request to http://www.mysite.com/index.php?uri=category1/content7. The page should display the Flash with FlashVar "uri=category1/content7". The Flash knows which content it has to display so when an user comes from google, following this link, he will find the content he was looking for.

Every linking and content for SEO should be in HTML, don't trust robots capability of reading Flash.

冰之心 2024-10-29 10:20:43

查看 Adob​​e 关于深层链接
您可以使用 cron 进程(每天)生成网站的 sitemap.xml,以便 URL 编码您需要的应​​用程序的状态。此 URL 将编码您需要从数据库检索的任何内容,只需一个 index.html 页面。

祝你好运!

have a look at Adobe's reference on deep-linking.
you can generate a website's sitemap.xml with a cron process (daily), such that the URLs encode the state of the application you need. This URL will encode whatever content you need to retrieve from the db, with just one index.html page.

good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文