I created mobile site for existing webpage and in it, I placed the code in mobile folder like www.testing.com/mobile and it works fine.
But what I need to do is if the user visited from mobile it should be redirected to mobile page and user visited from web it goes to default pages.
Here I used:
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0" />
to fit the page but url shows like m.tesing.com for mobile how to do this
By browser agent or any other ways. Thanks.