Title: Disable on Admin
Last modified: August 22, 2016

---

# Disable on Admin

 *  Resolved [gonbasaldua](https://wordpress.org/support/users/gonbasaldua/)
 * (@gonbasaldua)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/disable-on-admin/)
 * Hi,
 * I love your plugin and im trying to use it on our backend.
    I already tried using
   both “[http://localhost/rtv/wp-admin/&#8221](http://localhost/rtv/wp-admin/&#8221);
   and “[http://localhost/rtv/wp-admin”(have](http://localhost/rtv/wp-admin”(have)
   to do it by database otherwise it always add the last /), but the only affected
   page is “[http://localhost/rtv/wp-admin/&#8221](http://localhost/rtv/wp-admin/&#8221);.
   If i go to “[http://localhost/rtv/wp-admin/index.php](http://localhost/rtv/wp-admin/index.php)
   or any other page in the backend all plugins are enabled. Also Affect Children-
   > Checked Selective Plugin Loading -> Enabled Admin Areas -> Enabled Fuzzy URL
   matching -> Enabled Ignore URL arguments -> Enabled
 * Any clues? Thanks!
 * [https://wordpress.org/plugins/plugin-organizer/](https://wordpress.org/plugins/plugin-organizer/)

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

 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5300937)
 * It has to have the slash to match. When it is going through the url structure
   it would first look for [http://localhost/rtv/wp-admin/index.php](http://localhost/rtv/wp-admin/index.php).
   Then it would look for [http://localhost/rtv/wp-admin/](http://localhost/rtv/wp-admin/).
   If you have a filter in place with the permalink [http://localhost/rtv/wp-admin/](http://localhost/rtv/wp-admin/)
   and have checked the also affect children checkbox then it should work.
 *  Thread Starter [gonbasaldua](https://wordpress.org/support/users/gonbasaldua/)
 * (@gonbasaldua)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5300958)
 * Ok, i’ve tried that because i read your answer [here](https://wordpress.org/support/topic/disable-front-end-plugins-from-loading-in-admin-area?replies=7)
 * Maybe is our WordPress Version? 3.6.1 and we got your plugin latest version.
 * Everything else is working except that. Too bad, anyway thanks!
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5301088)
 * Actually no that doesn’t work in the current version. Apparently I haven’t tested
   that in awhile and it has stopped working. I have a fix for it and will release
   a new version soon.
 *  Thread Starter [gonbasaldua](https://wordpress.org/support/users/gonbasaldua/)
 * (@gonbasaldua)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5301113)
 * Ok great, i’ll wait for the fix. If there is a fast solution that i can change
   on the plugin let me know.
 * Thanks Jeff
 *  Thread Starter [gonbasaldua](https://wordpress.org/support/users/gonbasaldua/)
 * (@gonbasaldua)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5301119)
 * PluginOrganizerMU.class.php on line 99 i change from:
    $endChar = ”; to $endChar
   = ‘/’;
 * and it start to work well, at least on all tests i’ve done.
 * Its a good fix or that will break something else?
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5301142)
 * Yep. Basically I need to fix the if statement right below that. I’ll have the
   fix out later today or tomorrow.
 *  Thread Starter [gonbasaldua](https://wordpress.org/support/users/gonbasaldua/)
 * (@gonbasaldua)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5301154)
 * Great! Please let me know.
    Something i notice is that with my “fix”, all plugins
   that calls “/wp-admin/admin-ajax.php” got problems. Is there a way to leave admin-
   ajax out of the filter?
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5301181)
 * Add a filter for admin-ajax.php.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5301187)
 * I have released the fix for this problem. Download version 5.5 and let me know
   if it works for you.
 *  Thread Starter [gonbasaldua](https://wordpress.org/support/users/gonbasaldua/)
 * (@gonbasaldua)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5301189)
 * Thanks for all Jeff, using it right now.
    And I also add this on line 30 of PluginOrganizarMU
 * $adminurl = preg_replace(‘#^https?://#’, ”, rtrim(get_admin_url(),’/’));
    if (
   $this->requestedPermalink!=”.$adminurl.’/admin-ajax.php’…….

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

The topic ‘Disable on Admin’ is closed to new replies.

 * ![](https://ps.w.org/plugin-organizer/assets/icon-256x256.png?rev=1786554)
 * [Plugin Organizer](https://wordpress.org/plugins/plugin-organizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-organizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-organizer/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-organizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-organizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-organizer/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [back](https://wordpress.org/support/topic-tag/back/)

 * 10 replies
 * 2 participants
 * Last reply from: [gonbasaldua](https://wordpress.org/support/users/gonbasaldua/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/disable-on-admin/#post-5301189)
 * Status: resolved