How to edit wp-config.php
-
Hi, I am using a Twenty Seventeen child theme. Recently my site became very slow loading. I checked all the obvious, plugins, cache etc and contacted my host who said it is not their fault but a script problem. After much reading and looking for solutions online I found how to repair and optimize my site by adding define(‘WP_ALLOW_REPAIR’, true); to the wp-config.php.
I have found and opened this with notepad but do not know exactly where to place it and also, being fairly new coding, I do not know if it needs anything around it like /**define(‘WP_ALLOW_REPAIR’, true); */
I have backed up my site and thought i’d try this first. (The slow loading could be due to needing to update from PHP5.4 to PHP7, I know I need to as my host no longer supports PHP5.4 and I am now paying them extra to support it).
The page I need help with: [log in to see the link]
- The topic ‘How to edit wp-config.php’ is closed to new replies.