i'm trying to redirect my mobile users and all of small devices users to my mobile version of web site. but i don't like change my URL. like below example ,
desktop version : domain.com ( with desktop version of site )
mobile version : domain.com ( with mobile version of site )
thanks all of you for commenting my question. Now that i write my answer to my self , i found my question's answer.
Responsive design not it's answer. You have to show a mobile version of site, not responsive version of site. so using
@media()
not useful.
For this issues , You have to detect user's device in your back-end. for example in PHP you can use mobile-detect. And you can detect your device and show it's template for that device.
Also, mobile detect have a js version. click here I hope you find your answer here.