Everyone must have encountered some errors while using WordPress, most of them are very common but it is really frustrating when we see an error. In this article, we will show you how to fix maximum execution time exceeded error.
Why was this error triggered?
This error is triggered when a script reaches the maximum execution time. You might have seen this while updating your theme. It mostly depends on your web host where you have hosted your WordPress site, they(most of them) usually set the execution time limit to a higher value.
How to fix Maximum Execution Time Exceeded Error?
Fixing this error is really simple, just connect to your site via any FTP client and locate your .htaccess file which is located in the folder where your wp-admin folder is located. Make the following change to your .htaccess file.
Now save your file. This code sets the maximum execution time to 600 seconds, if you still see the error then try increasing the value.
If you are unable to find your .htaccess file or if you don’t want to mess with your .htaccess file then you can install WP Maximum Execution Time Exceeded plugin.
The plugin will set the maximum execution time to 300 seconds.
We hope that these methods have helped you fixing the error. If you have any questions, feel free to leave a comment below.