How to ensure that websites searched on the mobile phone enter the mobile phone version of the web page

  html5, question

Recently, we have made a master station and a micro station (not reactive). How can we ensure that the websites searched on the mobile phone enter the mobile phone version of the page?

The master station can judge UA, and don’t forget to add the option of actively switching versions.