I have a xzero classified website. When I bought the script, it did not have a mobile version, so I created one, but I have do not know how to do something. When my users are using their mobile phones and they write in the url [url removed, login to view], they should be redirected to mobile.mydomain.com. Even if they are searching to google, and they open an inner page like: [url removed, login to view], they should be automatically redirected to: [url removed, login to view], so the same page, the only difference is that the first url has a desktop view, the second url has a mobile version view.
Both the desktop version and the mobile version are connected to the same database and the script is the same, just that the mobile version has smaller sizes.
I welcome all your offers for the above request.