4 Easy Steps To Disable PHP Execution In WordPress Directories

Technology Research & Development

Updated on Jul 11, 2019

View more like this | Visit SAN FRANCISCO, CA | Contact HireWPGeeks Ltd.
Image for 4 Easy Steps To Disable PHP Execution In WordPress Directories with ID of: 3600336
In this guide, we will show you how to deactivate PHP execution by using the .htaccess file. New users like those who convert PSD to WordPress theme may be unaware of this file. It is a key configuration file located in the root of most WordPress websites. The open-source CMS uses it to control the manner in which files are served from the Apache server. The most common task for which .htaccess is used is for generating permalinks. It can also be used for cache control, authorization, or to disable directory browsing. Let’s see how it can be used to disable PHP execution in WordPress directories.

1. Connect To Your Website Through FTP
2. Create The .htaccess File
3. Upload The File Into The Folder
4. Edit The .htaccess File
goodideazs, LLC is not affiliated with the authors of this post nor is it responsible for its content, the accuracy and authenticity of which should be independently verified.