Jump to content

[SOLVED] wordpress mysql structure


bobcooper

Recommended Posts

hi there,

 

I am trying to access information from the wordpress mysql database that I have set up on my domain. I am using amfphp to access the info, but I can't seem to find any information on the table structure of the wordpress database.

 

Does anyone know any information on this or where I can find out more?

 

Thanks,

 

Bob

www.bobcooper.org.uk

Link to comment
Share on other sites

Hi thanks for that, I have managed to get the table structure from the following address:

 

http://codex.wordpress.org/Database_Description

 

So I am now importing post_title and post_content from wp_posts and yes the blog details are there, the only problem is that the order is very strange and the posts are duplicated, I am assuming this is for different categories, but I can't figure out how to sort it out!

 

Cheers,

 

Bob

www.bobcooper.org.uk

Link to comment
Share on other sites

I found it easier to export your posts etc in XML formatted to Wordpress' liking and import it via the admin panel.

 

If you don't have a full understanding of how the schema works for WordPress it will botch pretty good.

 

Importing via XML format will ensure posts/comments etc are still linked properly together

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.