wp

Causes of demo content import errors

Import of demo data is carried out exclusively using the tools built into WordPress. Errors during import can occur for various reasons.

1. The resource limits of the server on which the site is running have been exceeded.

This situation often occurs on the cheapest shared hosting plans. Alternatively, you can try increasing the amount of memory for PHP scripts. To do this, insert the following code in the wp-config.php file:

define ('WP_MEMORY_LIMIT', '128M');

You can also increase the execution time of PHP scripts. To do this, add the following line to the very end of the .htaccess file in the root of the site:

php_value max_execution_time 300

The value 300 is the time (in seconds) that can be increased or decreased. If the error still occurs, the value should be increased to 600.

An alternative option is the free WP Maximum Execution Time Exceeded plugin. It will automatically, without any user settings, increase the time limit for executing PHP scripts to 300 seconds.

If the problem persists, we recommend contacting the hosting company’s technical support. There may be some errors on the server side or the database connection limits have been exceeded.

2. Access rights to files and folders on the site are incorrectly configured.

All WordPress files should have permissions set to 644, and folders should have permissions set to 755.

You can change them through an FTP client or contact hosting technical support.

Sometimes demo content is duplicated during the import process. The fact is that when importing new content, the WordPress engine does not delete the old one. It must be removed manually.

Leave A Comment

Complimentary SEO Audit