Home › Forums › WoodMart support forum › I receive a timeout error 300 when I try to import prebuilt websites › Reply To: I receive a timeout error 300 when I try to import prebuilt websites
July 24, 2024 at 9:27 am
#585256
Artem Temos
Keymaster
Hello,
To fix the issue try to edit the file wp-content/plugins/woodmart-core/importer/class-wp-import.php
and add the following code after the line $url = str_replace( 'http:', 'https:', $url );
as shown on the screenshot https://gyazo.com/5346a3735046082f80b6651c8452a7a6
if ( strpos( $url, 'wp-content/uploads/' ) && strpos( $url, '/dummy.xtemos.com/' ) ) {
$url = str_replace( 'https://dummy.xtemos.com/', 'https://woodmart-dummy.b-cdn.net/', $url );
}
After doing this, go to WoodMart -> Prebuilt websites, remove previously imported dummy content, and import it from scratch. Let me know if it helps.
Kind Regards