Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JackT06

macrumors 6502
Original poster
Jul 24, 2009
293
0
Hello,

Here is the scenerio....

I currently have a website (here), and i have a 'dokuwiki' (here). I see little point in making my whole website mobile friendly, so i just want the dokuwiki part.
What i want to do is to create the mobile version so it only has the dokuwiki part, i don't want all my menu, footer etc.

How do i do this?
Do i create a whole new page, and then when a mobile is reconignes redirect it to that page? If so, how?

Thanks

Sorry if this post is abit confussing... i'm not the best at English or explaning things...
 
There are several ways you can go about it, but yes, you will have to create a alternate directory with new ui templates. You can then add in the user agent code to sniff what sort of browser/device is looking at your site.

For my personal site we shift it to mobile.chicowebdesign.com, but for our other clients site, we use php and keep the url angrybirdstees.com for both mobile and traditional.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.