MobileESP for WordPress
Redirect only on home page (2 posts)

  1. Leosk8ter
    Posted 3 years ago #


    I've tried the solution given in the other post, replacing with -

    if (($detect_mobile == 1) && (is_home_page())) {

    but that seems to just turn all the pages blank. I've also tried to replace is_home_page with is_front_page , is_home, and a few other things, but those don't seem to have an effect at all.

    Any other solutions perhaps?



  2. BandonRandon
    Plugin Author

    Posted 3 years ago #

    Sorry for the late reply, If you are still having issues let me know. The white page generally means a PHP error. Do you have PHP errors on?

    For what it's worth is_home_page() should be is_home() this may solve your issue. is_front_page may actually work better if you have a static home page.

    Please provide a link to your site if you're not sure.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MobileESP for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.