Title: PHP mobile redirect Endless loop!
Last modified: August 21, 2016

---

# PHP mobile redirect Endless loop!

 *  [edgarfigaro](https://wordpress.org/support/users/edgarfigaro/)
 * (@edgarfigaro)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-mobile-redirect-endless-loop/)
 * If I turn this plugin on, it goes into an endless loop. I’m including the wp-
   load.php file as I’m pulling content from the WordPress database.
 * I realize now by doing this I’m also calling all active plugins? Or at least 
   I think I’m calling the redirect script which is causing the endless loop.
 * If I go to the normal site, [http://s168249.gridserver.com/](http://s168249.gridserver.com/)
   on a mobile phone or by spoofing the browser, endless loop.
 * If I go to the mobile site, [http://s168249.gridserver.com/mobile/index.php](http://s168249.gridserver.com/mobile/index.php),
   on a phone, endless loop.
 * If I turn off the redirect, I can go to the mobile site without a hitch.
 * So I assume that the include of the mobile redirect script in the mobile index.
   php file is what’s causing the issue.
 * Is there a way to exclude just this plugin?
 * [http://wordpress.org/extend/plugins/php-mobile-redirect/](http://wordpress.org/extend/plugins/php-mobile-redirect/)

The topic ‘PHP mobile redirect Endless loop!’ is closed to new replies.

## Tags

 * [endless loop](https://wordpress.org/support/topic-tag/endless-loop/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 0 replies
 * 1 participant
 * Last reply from: [edgarfigaro](https://wordpress.org/support/users/edgarfigaro/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/php-mobile-redirect-endless-loop/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
