Only redirect home page to mobile website version


I have a website and would like to redirect visitors to mobile version only if they land on my home page. I have tried many plugins but they all redirect every pages in my website to mobile version.

Does anyone knows what codes can I add or other wordpress plugins that I can redirect only the home page to the mobile website?

Appreciate any comments, thank you!

so you only care that one page be ready for the mobile version?
what if from you home page on the mobile version the click on another link, would you want them to go to a “regular” desktop ready page?

Hi D,

Thank you for your comment. Do you know how to achieve it?