• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Forbid execution of PHP in WordPress directories

PeterH

New Pleskian
Server operating system version
Ubuntu 24.04
Plesk version and microupdate number
Plesk Obsidian 18.0.65
In many tutorials it is recommended to disallow execution of PHP scripts in the directories /wp-content/uploads/ and /wp-includes/. Now in the /wp-content/uploads/ directory that is no problem but if I put a .htaccess file disallowing execution of PHP scripts in the /wp-includes/ then WordPress will break. Is there another way to disallow execution of PHP in the /wp-includes/ directory?
 
Thanks Oldiesmann, I didn't know WP Toolkit had such features because I never used it before. I bought it to use all the possibilities it offers. Thanks again.
 
Back
Top