Support » Plugins and Hacks » Redirect only on home page

Redirect only on home page

  • Hi,

    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?



Viewing 1 replies (of 1 total)
  • Plugin Author BandonRandon


    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect only on home page’ is closed to new replies.