[wp-hackers] wordpress import. does it really work?
Haluk Karamete
halukkaramete at gmail.com
Mon Apr 9 13:38:28 UTC 2012
Why on earth it's called an import utility and does not the job they way it
is expected to do?
To least, I thought it will either not work at all, or it will truly bring
the database structure to "exactly" to the state that when .xml generated.
And any idea of where the wp-post's ID 2 go?
Does mySQL's "TRUNCATE" also has its own weird logic that sometimes after
the truncate, you cannot really, truly start from a fresh slate and your
previous database structure will somehow haunt again?
On Mon, Apr 9, 2012 at 4:16 AM, Mika A Epstein <ipstenu at ipstenu.org> wrote:
> Yes it works, no it doesn't import your links.
>
> http://en.support.wordpress.com/blogroll/import-export-links/
>
> Works the same way on .org installs.
>
> On Apr 8, 2012, at 11:42 PM, Haluk Karamete <halukkaramete at gmail.com>
> wrote:
>
> > Doesn't wordpress importer ( 0.6 ) import the links?
> >
> > I've been trying for the second time, that the exported wordpress does
> not
> > contain any of the original 7 links that comes with the frsh install.
> >
> > My test environment is as follows.
> >
> > get a fresh install.
> > make an xml backup ( export ) of it as backup.xml
> >
> > add a few links, posts, tags, taxonomies....
> >
> > then run
> >
> > TRUNCATE TABLE wp_links
> > TRUNCATE TABLE wp_posts
> > TRUNCATE TABLE wp_terms
> > TRUNCATE TABLE wp_term_taxonomy
> > TRUNCATE TABLE wp_term_relationships
> >
> > this literally clears the mentioned 5 tables.
> >
> > then run the wordpress importer plugin and point to backup.xml
> >
> > As a result, I get the hello world, the uncategorized category and that's
> > about it,.
> >
> >
> > I check out the wp_terms, wp_term_taxonomy, wp_term_relationships tables.
> > NADA. 0 records in there.
> >
> > I check out the wp_posts and I get 3 records in there, with ID's 1,3 and
> 4.
> >
>
More information about the wp-hackers
mailing list