Actually I have two sources
Desktop Layout Support (/Public_html/Desktop) (example.com)
Mobile Layout support (/Public_html/Mobile) (example.com)
How can i link root path based on device access without chnage/redirect domain in .htaccess
.
Actually i Have tried
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sample.in$ [NC,OR]
RewriteCond %{HTTP_HOST} ^sample.in$
RewriteCond %{REQUEST_URI} !Public_html/Desktop/
RewriteRule (.*) /Public_html/Desktop/$1 [L]
But i can't able to find device
Please help me to solve my problem.