I have a website built in WordPress and its mobile version built in AngularJS, the current setup is when the user use the website on mobile device he will be redirected to m.mydomain.com/article-1. But what I need is to make the same url works on mobile and desktop versions like so:

User on Desktop: mydomain.com/article-1
User on Mobile : mydomain.com/article-1

Is their any technique to do that?

Read more here: Dynamic Serving – Serving two different application depending on the user agent(one with WordPress and the other angularJs)


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: