Import Missing WordPress Posts from Archive.org (Must Be Completed in 36 Hours!)
Budget: $80 – $100 USD
Project Overview
I have a WordPress website (diydekoideen.com) where around 400 posts are missing from the database. These posts contain 20-30 images per post, and I have already downloaded their static HTML versions from Archive.org.
I need a script that properly imports these missing posts into WordPress, ensuring all data is correctly stored in the database. This must be a structured import, not a simple copy-paste of HTML.
Additionally, the same WordPress theme and file structure are used on two other websites, so the script must be reusable for them as well. Once it works for one site, it should also work for the others with minimal changes.
Example URLs:
Here’s an example of how the posts should be handled:
Currently live post (exists in WordPress):
? https://diydekoideen.com/diy-bastelideen-deko-spiele-und-snacks-fur-die-nachste-kinderparty/
Missing post from Archive.org:
? https://web.archive.org/web/20241108020202/https://diydekoideen.com/20-weihnachtsgeschenke-fuer-freundinnen-aber-auch-weihnachtsgeschenke-fuer-den-freund/
Currently restored static version on our site:
? https://diydekoideen.com/20-weihnachtsgeschenke-fuer-freundinnen-aber-auch-weihnachtsgeschenke-fuer-den-freund/
The goal is to properly import posts like the one above into WordPress as real posts, instead of serving them as static files.
Requirements:
Import missing posts as real WordPress posts, keeping:
Title, content, images (20-30 per post)
Post author, original publish date
Thumbnails (featured images)
SEO Titles & Meta Descriptions
Pinterest meta tags & structured data (if available in the HTML backup)
ALT texts for all images
Post categories, tags (correctly assigned in the database, not just text inside the post)
Slug/Permalink structure (must match the original URLs)
Styling must match existing posts
No manual HTML copy-pasting or hardcoded data!
All images must be stored properly in WordPress (not just linked from the static HTML files).
Many images are missing from Archive.org – this is expected.
Still, all image placeholders should be imported into WordPress.
Even if an image returns a 404 error, it should still be included so we can manually replace it later.
Check if the post's slug already exists in WordPress before importing.
If the slug already exists, do not import that post.
If the slug does not exist, import the post normally.
Ensure that categories are properly assigned:
If a category already exists, assign the post to it.
If a category does not exist, automatically create it.
The script must be reusable for two other websites that use the same WordPress theme and file structure.
The static files for all sites are stored in:
? /var/www/vhosts/[domain]/httpdocs/staticwparchiveorgrol/
The script should work for any of the sites by simply adjusting the domain and database settings.
Current Setup & Temporary Fix
WordPress is running with 400 restored posts.
The missing 400 posts exist as static HTML files, stored in:
? /var/www/vhosts/diydekoideen.com/httpdocs/staticwparchiveorgrol/
404 Handling:
The 404.php file in the current theme was modified to check if a static version of a missing post exists in the static files directory.
If the file exists, it gets loaded instead of returning a regular 404 error.
However, search engines (Google) still receive a 404 status, which is bad for SEO.
? Important: Deadline & Payment Terms ?
Must be 100% completed within 36 hours – if not, I won’t pay.
Only apply if you are available immediately and can fully commit to delivering on time.
Experience with WordPress database, WP REST API, and automated imports is required.
If you can do this, explain your approach briefly and confirm availability. Looking forward to your proposals!
I have a WordPress website (diydekoideen.com) where around 400 posts are missing from the database. These posts contain 20-30 images per post, and I have already downloaded their static HTML versions from Archive.org.
I need a script that properly imports these missing posts into WordPress, ensuring all data is correctly stored in the database. This must be a structured import, not a simple copy-paste of HTML.
Additionally, the same WordPress theme and file structure are used on two other websites, so the script must be reusable for them as well. Once it works for one site, it should also work for the others with minimal changes.
Example URLs:
Here’s an example of how the posts should be handled:
Currently live post (exists in WordPress):
? https://diydekoideen.com/diy-bastelideen-deko-spiele-und-snacks-fur-die-nachste-kinderparty/
Missing post from Archive.org:
? https://web.archive.org/web/20241108020202/https://diydekoideen.com/20-weihnachtsgeschenke-fuer-freundinnen-aber-auch-weihnachtsgeschenke-fuer-den-freund/
Currently restored static version on our site:
? https://diydekoideen.com/20-weihnachtsgeschenke-fuer-freundinnen-aber-auch-weihnachtsgeschenke-fuer-den-freund/
The goal is to properly import posts like the one above into WordPress as real posts, instead of serving them as static files.
Requirements:
Import missing posts as real WordPress posts, keeping:
Title, content, images (20-30 per post)
Post author, original publish date
Thumbnails (featured images)
SEO Titles & Meta Descriptions
Pinterest meta tags & structured data (if available in the HTML backup)
ALT texts for all images
Post categories, tags (correctly assigned in the database, not just text inside the post)
Slug/Permalink structure (must match the original URLs)
Styling must match existing posts
No manual HTML copy-pasting or hardcoded data!
All images must be stored properly in WordPress (not just linked from the static HTML files).
Many images are missing from Archive.org – this is expected.
Still, all image placeholders should be imported into WordPress.
Even if an image returns a 404 error, it should still be included so we can manually replace it later.
Check if the post's slug already exists in WordPress before importing.
If the slug already exists, do not import that post.
If the slug does not exist, import the post normally.
Ensure that categories are properly assigned:
If a category already exists, assign the post to it.
If a category does not exist, automatically create it.
The script must be reusable for two other websites that use the same WordPress theme and file structure.
The static files for all sites are stored in:
? /var/www/vhosts/[domain]/httpdocs/staticwparchiveorgrol/
The script should work for any of the sites by simply adjusting the domain and database settings.
Current Setup & Temporary Fix
WordPress is running with 400 restored posts.
The missing 400 posts exist as static HTML files, stored in:
? /var/www/vhosts/diydekoideen.com/httpdocs/staticwparchiveorgrol/
404 Handling:
The 404.php file in the current theme was modified to check if a static version of a missing post exists in the static files directory.
If the file exists, it gets loaded instead of returning a regular 404 error.
However, search engines (Google) still receive a 404 status, which is bad for SEO.
? Important: Deadline & Payment Terms ?
Must be 100% completed within 36 hours – if not, I won’t pay.
Only apply if you are available immediately and can fully commit to delivering on time.
Experience with WordPress database, WP REST API, and automated imports is required.
If you can do this, explain your approach briefly and confirm availability. Looking forward to your proposals!