WebSite X5Help Center

 
Huveneers A.
Huveneers A.
User

Switch to Mobile or desktop website  en

Autor: Huveneers A.
Visitado 1101, Seguidores 2, Compartilhado 0  

Can you automatic select a different website depending of the browsing device? For example when an android brower connects to the website select the website with the mobile layout

Publicado em
3 RESPOSTAS - 1 CORRIGIR
Samuel V.
Samuel V.
User

Hello,

You could do this using JavaScript. This one has to be inserted before the </head> tag.


EDIT: the script is in the text file attached as the editor replaces the content 



You could do the same using PHP or Apache redirects.

Hope this can help Smile

Ler mais
Publicado em de Samuel V.
Samuel V.
Samuel V.
User

The code

Ler mais
Publicado em de Samuel V.
Huveneers A.
Huveneers A.
User
Autor

Thanks for this info. I will try that

Ler mais
Publicado em de Huveneers A.