4 Easy Steps To Disable PHP Execution In WordPress DirectoriesTechnology Research & DevelopmentUpdated on Jul 11, 2019 View more like this | Visit SAN FRANCISCO, CA | Contact HireWPGeeks Ltd. |

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
1. Connect To Your Website Through FTP
2. Create The .htaccess File
3. Upload The File Into The Folder
4. Edit The .htaccess File