Ajax site indexed by all search engines
I see a lot of articles on the topic that people are trying to make Ajax sites but they are confused that such sites will not be indexed by search engines. Google is fine with this, you can use special syntax .
Some time ago, I had the task of making an Ajax site working "like twitter" but at the same time indexed by search engines.
There was no problem with Google, but with Yandex it was more difficult. Everything was decided quite simply. It is necessary to make the site work without Javascript. As for users with Javascript disabled. And I converted the links on the site to the desired format when visiting the site through a browser with Javascript enabled.
As a result, it was decided to make the site static with static links / p / video and when loading the site to convert them to a "broken web".
After that, the site user already clicks on the links of the form / #! / Video, which are tracked using jQuery Address Plugin v1.4 and loaded on the fly.
Website http://flir-russia.ru/
Indexed by Yandex
Indexed by Google
Some time ago, I had the task of making an Ajax site working "like twitter" but at the same time indexed by search engines.
There was no problem with Google, but with Yandex it was more difficult. Everything was decided quite simply. It is necessary to make the site work without Javascript. As for users with Javascript disabled. And I converted the links on the site to the desired format when visiting the site through a browser with Javascript enabled.
As a result, it was decided to make the site static with static links / p / video and when loading the site to convert them to a "broken web".
- $ ("a"). each (function () {
- var href = $ (this) .attr ("href");
- if (href) {
- var nh = href.replace (/ ^ / p // g, "/ #! /");
- $ (this) .attr ("href", nh);
- $ (this) .bind ("click", function () {
- show ($ (this) .attr ("href"));
- });
- }
- });
After that, the site user already clicks on the links of the form / #! / Video, which are tracked using jQuery Address Plugin v1.4 and loaded on the fly.
Website http://flir-russia.ru/
Indexed by Yandex
Indexed by Google