I've had a look through this site and found several similar questions but none which address my current needs.
Normally I create responsive sites but on occasion I will create a 'desktop' and a 'mobile' site.
These sites use the same content from the same database but this is served different in html.
I use browser detection to determine which html is served. I realise that it is arguable whether these two constitute separate 'sites' but this is the term I shall be using for this question.
My current preference is to keep the url exactly the same between the two sites. No prefix or suffix like m.
or .mobi
Apart from domain cookies / session I don't know what else could be affected by this though. Since lots of sites out there use, for example, m.
I assume there is some benefit. Can anyone please shed some light on why this might be?
If I had separate content then I would probably feel m.
was appropriate but since it is exactly the same content and hierarchy I don't see the point.
Additionally the single url allows for easy sharing cross device (mobile to desktop).
So what, if any, are the benefits of using a separate url for a mobile site where the mobile and desktop version share the same content?
To be be clear, there is a way to view the desktop site on a mobile using a link. Additionally I can make it work so that appending /mobile/
or prepending m.
would return the mobile version but the addition would not persist through the site.
EDIT
I should have made this clear before. I am using a CMS with a url rewriter built in (in fact it is always used, regardless of how many sites you have, to create friendly urls). Due to the nature of the sites I make, cookies are unavoidable.