Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#4224 closed defect (bug) (invalid)

WP import wrong from another WP Blog

Reported by: giovannimcosta Owned by: giovanni
Milestone: Priority: low
Severity: minor Version: 2.1.3
Component: General Keywords: wp import data
Focuses: Cc:


In my localhost I exported all data using "Restrict Author:'ALL' " ('http://localhost/mydomain.blog.br/wp-admin/export.php')

Later I Imported to my online blog using: ('http://gmcosta.blog.br/wp-admin/admin.php?import=wordpress')

All of child's pages now, are posts, and I don't understand if is a Wordpress error or my ignorance... The pages of my blog are like follow:

page_id_1 child_page_1 child_page_2 child_page_3

page_id_2 child_page_4 child_page_5 child_page_6

page_id_3 child_page_7 child_page_8 child_page_9

when I import all of child pages became posts, and I'm confuse.... Like I said, if is not a wordpress error, sorry very very sorry.. I just want to know not cause disturb here. since now thanks...

Change History (9)

#1 @Otto42
11 years ago

There have been several fixes to both the importer and exporter since 2.1.3 was released. Some of these dealt with pages and page hierarchy. So the problem may be fixed, but you should make sure.

I suggest downloading the latest export.php and import/wordpress.php and trying them on your blogs, to see if they fix the problem.

Download them from here: http://trac.wordpress.org/browser/trunk/wp-admin/import/wordpress.php?format=raw http://trac.wordpress.org/browser/trunk/wp-admin/export.php?format=raw

See if those help. Let us know what happens.

#2 @giovannimcosta
11 years ago

The both files you told me to download and test worked correct. No more error now :)

But at the page that show the pages and posts imported (this page appear later I click at the buttom "Upload File and Import") I found something confuse, Wordpress show all the pages and posts imported with name "post", take a look:

If you didn't understand what I'm trying to say. The screen who shows the posts & pages & subpages imported appear wrong yet:

  1. Importing post About... (should appear with the name "page" not "post" right ?)
  2. Importing post Contact... (should appear with the name "page" not "post" right ?)
  3. Importing post Delayed Wordpress 2.2 Release ... (1 comments) (this is post, so... ok for this)
  4. Importing post Books... (should appear with the name "page" not "post" right ?)
  5. Importing post child_1... (should appear with the name "parent_name_page_sub_page_name" not "post") the last could be implemented ?

Since now thanks, :)

#3 @rob1n
11 years ago

I'll look into it.

#4 @giovannimcosta
11 years ago

and listen..

I forgot something.... BLOGROLL didn't imported, no "links" from my blogroll were imported

#5 @giovannimcosta
11 years ago

what a mess, I'm without sleep sorry, I completely forget how import links man. sorry sorry !

#6 @rob1n
11 years ago

*cough* OPML *cough* ;)

#7 @giovannimcosta
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#8 @Nazgul
11 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#9 @Nazgul
11 years ago

  • Milestone 2.2 deleted
  • Resolution set to invalid
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.