WebSite X5Help Center

 
Huveneers A.
Huveneers A.
User

Switch to Mobile or desktop website  en

Autor: Huveneers A.
Besucht 1103, Followers 2, Geteilt 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

Gepostet am
3 ANTWORTEN - 1 KORREKT
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

Mehr lesen
Gepostet am von Samuel V.
Samuel V.
Samuel V.
User

The code

Mehr lesen
Gepostet am von Samuel V.
Huveneers A.
Huveneers A.
User
Autor

Thanks for this info. I will try that

Mehr lesen
Gepostet am von Huveneers A.