Title: [Plugin: Shortcode Exec PHP] I&#039;m getting a Not Found, 404 Error!!!
Last modified: August 20, 2016

---

# [Plugin: Shortcode Exec PHP] I'm getting a Not Found, 404 Error!!!

 *  Resolved [Fred Chapman](https://wordpress.org/support/users/fwchapman/)
 * (@fwchapman)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/)
 * I love this plugin, but when I went to update to the latest version, I got the
   strangest WordPress error I’ve ever seen. The same error showed up in three different
   places:
    1. When I tried to view the page with information on the plugin, I got a Not Found,
       404 Error.
    2. When I tried to update the plugin, I got a Not Found, 404 Error.
    3. I finally deleted the plugin and installed it manually, but when I tried to 
       activate the plugin, I got a Not Fount, 404 Error.
 * I get this problem even when I deactivate all other plugins. Any idea what’s 
   causing this and how to fix it?
 * Thanks very much,
 * Fred Chapman
 * [http://wordpress.org/extend/plugins/shortcode-exec-php/](http://wordpress.org/extend/plugins/shortcode-exec-php/)

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

 *  Thread Starter [Fred Chapman](https://wordpress.org/support/users/fwchapman/)
 * (@fwchapman)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413597)
 * P.S. I updated five other plugins around the same time and did not experience
   these issues with any of the other updates. The issues were specific to this 
   plugin.
 *  Thread Starter [Fred Chapman](https://wordpress.org/support/users/fwchapman/)
 * (@fwchapman)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413608)
 * **I’ve solved the problem!** It was due to changes in my .htaccess files. In 
   the course of updating half a dozen plugins, I had updated to BulletProof Security
   Version .46.5, which changed .htaccess in ways that caused the Not Found, 404
   Error reported above. I had a feeling that Shortcode Exec PHP would be vindicated!
   🙂
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413611)
 * I was just going to look into this.
    Thanks for reporting back!
 *  Thread Starter [Fred Chapman](https://wordpress.org/support/users/fwchapman/)
 * (@fwchapman)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413614)
 * Marcel,
 * Thanks for a great plugin! I had a feeling this problem wasn’t because of anything
   your plugin did. I’m glad I can keep on using your plugin, which has become essential
   for my work. Being able to create custom PHP and JavaScript shortcodes lets me
   overcome a lot of WordPress limitations!
 * Thanks again,
 * Fred
 *  [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413624)
 * Ok thanks for pointing out that there is some sort of conflict going on. I will
   put this plugin in testing and see exactly what threat BPS is seeing and why 
   BPS is blocking it. Thanks.
 *  Thread Starter [Fred Chapman](https://wordpress.org/support/users/fwchapman/)
 * (@fwchapman)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413626)
 * Thank you, Ed! It’s much appreciated. -Fred
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413629)
 * [@aitpro](https://wordpress.org/support/users/aitpro/): let me know if something
   should be changed to the plugin.
 *  [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413642)
 * Yep it was just that silly thing. As an afterthought i added the “exec” php function
   to the explicit filter. I probably did that because every single hacker script
   i play around with uses the php exec function. it was not a good idea. A prepared
   statement in MySQL uses EXECUTE so there is really no good reason to block “exec”
   explicitly. If you want you can either remove “exec” entirely or just for the
   heck of it add it to the SQL Injection filter (it won’t do anything really there).
   Anyway protecting a site against “exec” should be done in your php.ini file and
   not in an .htaccess file anyway so it can be dumped altogether. You will need
   to remove it from both your Root .htaccess file and your /wp-admin .htaccess 
   file. I will get rid of this altogether in bps .46.6. Thanks.
 * FYI – in your custom php.ini file you should add exec to your disable_functions
   directive
    …and these php functions as well disable_functions = system, exec,
   passthru, shell_exec, show_source, popen, pclose, pcntl_exec
 * I see these php functions in every single hacker script i play with. 😉
 *  Thread Starter [Fred Chapman](https://wordpress.org/support/users/fwchapman/)
 * (@fwchapman)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413688)
 * Marcel and Ed, on this Thanksgiving Day here in the USA, I am truly thankful 
   for wonderful plugin developers like you. You were both kind enough to respond
   to my bug report within a matter of hours. That kind of incredible service to
   the WordPress community makes my job as a web consultant a whole lot easier!
 * Thanks again,
 * Fred
 *  [Samara](https://wordpress.org/support/users/spadilla/)
 * (@spadilla)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413732)
 * I can confirm that I am running the latest BPS and the same exact thing has happened
   to me as well.
 * Also, I agree – both the devs are awesome! Thank you both 🙂
 *  [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413733)
 * “You will need to remove the word “exec” from both your Root .htaccess file and
   your /wp-admin .htaccess file.”
 * And you might as well get rid of “execute” too.
 *  Thread Starter [Fred Chapman](https://wordpress.org/support/users/fwchapman/)
 * (@fwchapman)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413734)
 * Samara, I used Ed’s fix for BPS, and it cleared the problem right up. Hopefully,
   it will work just as well for you! -Fred

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

The topic ‘[Plugin: Shortcode Exec PHP] I'm getting a Not Found, 404 Error!!!’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shortcode-exec-php.svg)
 * [Shortcode Exec PHP](https://wordpress.org/plugins/shortcode-exec-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-exec-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-exec-php/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-exec-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-exec-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-exec-php/reviews/)

 * 12 replies
 * 4 participants
 * Last reply from: [Fred Chapman](https://wordpress.org/support/users/fwchapman/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-im-getting-a-not-found-404-error/#post-2413734)
 * Status: resolved