Yandex cache to get a mobile version of the site

mart765
11 years, 6 months ago
Today saw the main page of the site in Yandex cache. He saw that the cache Yandex shows mobile version. Also in the cache Yandex on other pages also got a mobile version, what to do? Joomla 1.5, the version of the mobile version - Free.
dryabov
11 years, 6 months ago
Do you use latest MJ version?
Yandex bot is detected as desktop device by all device detecting plugins (AMDD, Scientia, Simple), and forced mobile URL (with ?device=xhtml or ?device-iphone parameter) has canonical link attribute (supported by Yandex from 2011).
Could you post URL of your website?
mart765
11 years, 6 months ago
Do you use latest MJ version?

yes

Yandex bot is detected as desktop device by all device detecting plugins (AMDD, Scientia, Simple), and forced mobile URL (with ?device=xhtml or ?device-iphone parameter) has canonical link attribute (supported by Yandex from 2011).
Could you post URL of your website?

pro-soblazn.ru
dryabov
11 years, 6 months ago
Do you use additional caching on the site (System-Cache plugin, caching proxy like Varnish, etc.)?
mart765
11 years, 6 months ago
Do you use additional caching on the site (System-Cache plugin, caching proxy like Varnish, etc.)?

yes, cache cleaner plugin

mey be i have a problem, because i dont use subdomens for mobile version?
dryabov
11 years, 6 months ago
Looks like Yandex used nonstandard User-Agent header to grab your site content. Usually the following UA is used:
Mozilla/5.0 (compatible; YandexBot/3.0; +yandex.com/bots)
and this UA is detected as desktop device by all device detecting plugins. I've found page mobilejoomla.com/ua.php in yandex's search and it was indexed using above mentioned User-Agent.

Yes, mobile subdomain may fix the issue.
mart765
11 years, 6 months ago
tell me how to set up a mobile version for subdomains? If I just prescribe subdomains, mobile version does not work
dryabov
11 years, 6 months ago
Mobile Joomla doesn't creates subdomains (that is it doesn't change DNS or webserver settings), but it allows you to use existing subdomains for mobile site version.
The first step to make mobile subdomain is to setup subdomain as an alias to main domain. We usually recommend to disable Mobile Joomla by unpublishing Mobile Joomla Plugin and then get your site working via both main domain and subdomain (that is subdomain displays identical page). Usually webhosters allow either to make aliases directly (there is special field in main domain settings), or indirectly via possibility to set DocumentRoot directory for subdomain identical to the main domain DocumentRoot (note that in most cases it's done at creating of subdomain and you cannot change it further).
After that you can enable Mobile Joomla and test this subdomain for mobile version.
mart765
11 years, 6 months ago
Are i understand correctly, that I have to create subdomains and to register them in the settings Mobile joomla? and thats all?
dryabov
11 years, 6 months ago
Yes, but subdomain should be an alias to main domain (point to the same directory, not a separate one).
1

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.