Can some one help me in deciding the best way to code clean urls for web as well as wap
WEB
site.com/modules/action/id (if needed)
WAP
site.com/modules/action/id/mobile
Clean URLS for web n wap interfaces
Moderator: General Moderators
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: Clean URLS for web n wap interfaces
mod_rewrite?
Re: Clean URLS for web n wap interfaces
no... am asking how to frame my urls... logical help not php
problem is incase there is no ID
it wil become
site.com/modules/action/mobile
for wap
then its waste of resources to check each time if its a id or mobile
problem is incase there is no ID
it wil become
site.com/modules/action/mobile
for wap
then its waste of resources to check each time if its a id or mobile
Re: Clean URLS for web n wap interfaces
mobile should come first, logically
Meaning:
site.com/modules/action/id
And:
site.com/mobile/modules/action/id
Meaning:
site.com/modules/action/id
And:
site.com/mobile/modules/action/id
Re: Clean URLS for web n wap interfaces
Why not have a mobile subdomain? mobile.site.com is friendlier than site.com/mobile and you don't have to worry about changing links to point to /mobile instead.
Re: Clean URLS for web n wap interfaces
But am using my own MVC framework... basically if its mobile site i wil only have a different view.... to make it compatible with the mobile devices
Re: Clean URLS for web n wap interfaces
Surely how you actually implement the URLs is unimportant compared to how usable it is for the user? Having /mobile at the end of the URL is going to be a hassle for anyone inputting the location on a phone that's geared towards inputting standard mobile URLs such as mobile.domain.com, m.domain.com or domain.mobi?