Rapturezone

  • Resources
  • Blog
  • About Us
  • Privacy Policy

Import WordPress Site using WordPress Importer

May 30 by www

Import WordPress Site using WordPress Importer.
On a fresh install of WordPress. If you go to.
Tools > Import
There may not be any available import options.

This tutorial assumes a backup was created by using the Export WordPress Website Using Builtin Export Tool method

Install Plugin

If Tools > Import does not have any suitable option.
Install the “WordPress Importer” plugin
Author: wordpressdotorg
Site: https://wordpress.org/plugins/wordpress-importer/

Delete Sample Posts & Pages

Before importing the websites ensure it is clean and empty

Posts > All Posts > Select All > Move To Trash
Pages > All Posts > Select All > Move To Trash

Import Website

Tools > Import > Run Importer
Import
If you have posts or comments in another system, WordPress can import those into this site. To get started, choose a system to import from below:
WordPress
Run Importer
Import posts, pages, comments, custom fields, categories, and tags from a WordPress export file.

Assign Authors

Here you have the opportunity to import an author or assign it to an existing user.

Assign Authors
To make it simpler for you to edit and save the imported content, you may want to reassign the author of the imported item to an existing user of this site, such as your primary administrator account.

Import author: author (author)
or assign posts to an existing user:

Import Attachments

As the import XML file only cantains test. Here you have the option of pulling in uploads/attachments.

Select -
Import Attachments
Download and import file attachments

Notes

The import file is just XML.
The above import posts, pages, comments, custom fields, categories, and tags.
In order to bring in the media/images/uploads the original website must be online and accessible from the original url.
The original website must also have a valid TLS/SSL certificate

Issues

Issue:Unable to upload the file

You may come across the error.
This write up will detail 2 possible solutions.

Solution 1:Install Plugin

WP Extra File Types

Solution 2: Edit wp-config file

sudo nano /opt/bitnami/apps/wordpress/htdocs/wp-config.php 

Insert the following line somewhere above
/* That’s all, stop editing! Happy publishing. */

define('ALLOW_UNFILTERED_UPLOADS', true);

Issue:Unable to Media/Attachments

Solution: Manualy Transfer

The AWS Lightsail WordPress Multisite Instance stores under
/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/sites/


Where each new website you add will increment
/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/sites/1
/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/sites/2
/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/sites3
/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/sites4
/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/sites5
/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/sites/6
/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/sites7
etc.

Issue: Internal Server Error

You will get this error if for example you have a big website with lots of media.

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at you@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Solution: Manual Transfer Media

Filed Under: How To Tagged With: WordPress

Recent Posts

  • Alternative Android Apps
  • Web Scraping with Python and Beautiful Soup Example IMDB Top 250
  • Web Scraping with Python and Beautiful Soup
  • Pi Pico Mouse Jiggler
  • JellyFin Docker Container

Recent Comments

    Archives

    • September 2021
    • August 2021
    • July 2021
    • January 2021
    • September 2020
    • August 2020
    • June 2020
    • May 2020
    • December 2019
    • November 2019
    • November 2017
    • July 2017
    • January 2017
    • January 2016
    • December 2015
    • September 2015
    • April 2015
    • March 2015
    • November 2014

    Categories

    • Definitions
    • How To
    • Resources
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Google+

    Copyright © 2025 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in