Title: Your plugin does not work
Last modified: August 24, 2016

---

# Your plugin does not work

 *  Resolved [samuel.aifuwa](https://wordpress.org/support/users/samuelaifuwa/)
 * (@samuelaifuwa)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/your-plugin-does-not-work/)
 * Your plugin does not work. It tries to load and stop. Then the mobile browser
   will show error too many redirects. I thought it was because of my mobile plugin,
   but i deactivated that and tried it again. Same thing.
 * [https://wordpress.org/plugins/mobile-redirect-plus-lite/](https://wordpress.org/plugins/mobile-redirect-plus-lite/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [estebanutz](https://wordpress.org/support/users/estebanutz/)
 * (@estebanutz)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/your-plugin-does-not-work/#post-6074481)
 * Hopefully the developer will see this. The plugin is not working because there
   is an error in line 24 in mobi.php where two different variables are being used
   instead of one.
 *     ```
       $session_check_lite = $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
       	if(substr_count($session_check, 'main=true')>0){...
       ```
   
 * You need to change $session_check to $session_check_lite
 * That should fix the issue.
 *  [krwetton2014](https://wordpress.org/support/users/krwetton2014/)
 * (@krwetton2014)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/your-plugin-does-not-work/#post-6074710)
 * Hey guys, any luck with fixing this for the full version? I’m confused as to 
   why the author of this plugin hasn’t bothered to weigh in on this thread?
 *  Plugin Author [iqbalbary](https://wordpress.org/support/users/iqbalbary/)
 * (@iqbalbary)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/your-plugin-does-not-work/#post-6074711)
 * Hi Guys, With this plugin you can’t redirect within same wordpress installation.
   If you set same wordpress installation for your main website and mobile website,
   you will get infinity loop. Please separate your mobile/tablet version website
   from main wordpress(different wordpress install) so you will not get too many
   redirects. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Your plugin does not work’ is closed to new replies.

 * ![](https://ps.w.org/mobile-redirect-plus-lite/assets/icon-256x256.jpg?rev=2033155)
 * [WP Mobile Redirect](https://wordpress.org/plugins/mobile-redirect-plus-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobile-redirect-plus-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobile-redirect-plus-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/mobile-redirect-plus-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobile-redirect-plus-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobile-redirect-plus-lite/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [iqbalbary](https://wordpress.org/support/users/iqbalbary/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/your-plugin-does-not-work/#post-6074711)
 * Status: resolved