How to Set A Maximum Execution Time Advanced Advanced tutorials require advanced knowledge of web design concepts and languages such as HTML, CSS, JavaScript.
Setting a maximum execution time in Wordpress requires the user to have access to the server FTP where he is hosting his website.
Keep in mind
If you do not have access to your website FTP, contact your hosting provider to give you access or simply inform him to make the modifications for you.
- Modifying .htaccess files
- Use the ini_set() PHP function
Modify .htaccess files
- Go to your site's root directory
- Open the .htaccess file there
- Edit the file and paste the code below
- Make sure you upload the .htaccess file back in the site's host root directory once that is done.
php_value max_execution_time 200
Use the ini_set() PHP Function
- Go to your site's root directory
- Open the wp-config.php file
- Edit the file and paste the code below
- Make sure you upload the file back in the site's host root directory once that is done.
@ini_set( 'max_execution_time', '200' );
Keep in mind
The recommended maximum execution time for this theme is 200.
Warning
Modifying a server setting might have unforseen consequences. If you are not sure of what you are doing or you are not proficient with changing files on a server, please notify your hosting provider and they will make the modifications for you.