I want to redirect my mobile site users to mobile specific pages in case the request has been originated from mobile device. I can write below code near HTML Head tag in JS to figure out this.
if(Check UserAgent is Mobile)
{
mobile=true;
window.location.assign("http://abc.com"+"&mobile="+mobile);
}
If mobile parameter is available in HTTP params then I can implement certain logic.
Will it cause any issue w.r.t. SEO?
Thanks!