WebSite X5Help Center

 
Serkan İ.
Serkan İ.
User

One Page for mobile & One Page for desktop. is it possible?  en

Autor: Serkan İ.
Visitado 822, Followers 1, Compartido 0  

One for mobile & One for desktop. is it possible?

Hi.

First; directly the question :

is it possible to make completely different/separated pages of a website, one for mobile and one for desktop users? They will type the same address, but depending on the source of their using, mobile/cellphone users will see a page from a totally different folder/source, and desktop/PC users will see other.

i don't mean the possibility which can be done by using Responsive Settings ---> Show/Hide some objects via website x5 pro. With that way, yes, lots of difference can be obtained but, i need two completely different folder of two websites on the server.

The reason i want this : i have a old page; www.aysunigneli.com

i've imported it to the last version of website x5 pro but it simply can't be converted mobile without totally re-making the website. i really like this simple version of desktop site, espicially main/index page & rehber main-page etc. But without completely changing design, i can't make a desktop+mobile site. i have to do all the things from the beginning and i have to completely change everything. i don't want that.

So, can i make two different sites as one with website x5 pro?

Publicado en
4 RESPUESTAS - 1 ÚTIL
Aleksej H.
Aleksej H.
Moderator

Hello. You can create two completely different pages. But they will have a different address. You need to create two different pages and put this code in ".htaccess" file:

RewriteCond %{HTTP_USER_AGENT} (?i:midp|samsung|nokia|j2me|avant|docomo|novarra|palmos|palmsource|opwv|chtml|pda|mmp|blackberry|mib|symbian|wireless|nokia|hand|mobi|phone|cdm|upb|audio|SIE|SEC|samsung|HTC|mot-|mitsu|sagem|sony|alcatel|lg|eric|vx|NEC|philips|mmm|xx|panasonic|sharp|wap|sch|rover|pocket|benq|java|pt|pg|vox|amoi|bird|compal|kg|voda|sany|kdd|dbt|sendo|sgh|gradi|jb|dddi|moto|iphone|android)
RewriteRule ^(/)?$ https://domain.com/m/ [R=301]

When someone visits the site from a mobile device, they will be redirected to https://domain.com/m/ You need to place the site for mobile users inside the "m" folder located in the root folder of your site.

However, there are more complex ways. You can apply for freelancing. Perhaps they will help you do exactly what you want. Redirect to different pages without changing the address.

Leer más
Publicado en de Aleksej H.
Esahc ..
Esahc ..
Moderator

Serkan, an alternative is to make use of the entry page accessed in Step 1. You select the resolution and then redirect the user to the appropriate website just as in Aleksej's example (https://www.aysunigneli.com/m)

Leer más
Publicado en de Esahc ..
Serkan İ.
Serkan İ.
User
Autor

i really love this community. This is my second question only, and i've read some other questions/answers from search engine as i needed some problems solved.

As i see, every question is answered with very valuable information and tips/tricks as valuable as gold for users novice like me. i am learning so much from this site & you.

Thank you very much for this.

And thank you Aleksej H. & Claudio D. & Esach .. for methods you suggest.

i will search & try them as soon as possible and write the results here for future reference.

Have a nice day. See you after finish applying this information.

Leer más
Publicado en de Serkan İ.