Starter template importer breaks URLs
-
I imported a starter template and the images didn’t load, and the layout was messed up. The browser console showed many 404 errors, and many URLs were invalid (they contained extra slashes). After a lot of troubleshooting, I ran across this Stack Overflow post that led me to the solution. In /wp-content/plugins/astra-sites/inc/lib/starter-templates-importer/importer/wxr-importer/st-wxr-importer.php, I commented out this line:
$data['post_content'] = wp_slash( $data['post_content'] );
I then imported the starter template again, and it worked. I thought you should know, because this is affecting some users.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.