Hey Everyone! In this article, I’m going to talk about another very common WordPress error which is Maximum Execution Time Error. I’ll tell you why this error occurs and how to fix maximum execution time exceeded error in WordPress.
- How to Increase Maximum File Upload Size Limit in WordPress
- How to Fix Memory Exhausted Error (Increase the PHP Memory Limit) in WordPress
Why Maximum Execution Time Exceeded Error Occurs?
WordPress is powered by PHP programming language. For security purposes, there is a time limit set for how long a PHP script can run to perform a certain task. When a script reaches the maximum execution time limit, it results into maximum execution time exceeded error. The default value of maximum execution time is set by your hosting provider. However, you can change this value and this is how you can fix this error.
If you need help with selecting the suitable web hosting provider for WordPress , check out my guide on 3 Best WordPress Web Hosting Providers…
How to Fix Maximum Execution Time Exceeded Error
Let’s have a look at different methods to fix maximum execution time exceeded error!
1. Edit .htaccess File
One way to fix this error is to modify your .htaccess file. This file is located in the root directory of your website. In order to fix the maximum execution time exceeded error, add the following line of code in .htaccess file:
php_value max_execution_time 300
This code would set the time limit to 300 seconds. If the problem still persists, increase the value.
2. Using a Plugin
You can also use a suitable WordPress plugin to increase the maximum execution time. I’d recommend WP Maximum Execution Time Exceeded plugin. Simply install and activate the plugin in your website. It’ll increase the maximum execution time to 300 seconds. You can always increase the value through plugin settings in case the problem persists.
I hope after reading this article, you’ll be able to learn how to fix maximum execution time exceeded error in WordPress. If you’ve any questions, feel free to ask in the comment box and I’d be more than happy to assist. If you liked this article, please subscribe to our YouTube Channel. You can also follow us on Facebook, Twitter and Pinterest.