Knowledge Base
CSS
Plugins
- Locked out from Updraftplus Dashboard
- MAINWP – Kod för att se Server-IP
- Elementor List Icon fix
- Browser downloads file when opening a page
- Elementor Scroll Offset Menu Anchors
- Widget Panel Not Loading
- Align checkboxes to the right
- Greatly Improve the Entrance Animations
- Elementor Posts Widget Title Length
- Change Product Description Tab and Titles in WooCommerce
Wordpress
- Problems with Cronjobs?
- Increase WordPress Memory Limit
- Admin Dashboard not Displaying Correctly
- Critical error on this website
- Disable file editing in WordPress admin
- Password Protected Pages
- Hemsida dålig laddtid vid besök första gången
- Hjälp med koder (Multisite)
- How to add text under add to cart
Browsers
Windows
Server
Themes
WooCommerce
< All Topics
Print
Disable file editing in WordPress admin
Posted2024-06-12
Updated2025-05-10
ByLasse
File to edit: wp-config.php
Open the file and search for DISALLOW_FILE_EDIT to see if you have the line already.
If not paste, paste the code just before /* That’s all, stop editing! Happy blogging. */
define ('DISALLOW_FILE_EDIT', true);
then save the file
If you want to temporarily allow file editing, you can simply replace ”true” with ”false”.Change it back when you are done editing.
Table of Contents