Title: Migrate WP Posts &amp; Pages using PhpMyAdmin
Last modified: November 27, 2017

---

# Migrate WP Posts & Pages using PhpMyAdmin

 *  [luloxiano](https://wordpress.org/support/users/luloxiano/)
 * (@luloxiano)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/migrate-wp-posts-pages-using-phpmyadmin/)
 * Hi there!
 * I want to migrate all posts, pages and media from an old broken WP installation
   to a new one, and I can’t access wp-admin, so I thought of doing it with PhpMyAdmin
   and FTP.
 * You may or may not want to read WHY I want to do this, so here it goes:
 * **[— BEGIN EXPLANATION ON HOW I MESSED UP —]**
 * I broke my wordpress installation some days ago, becoming unable to login via
   wp-admin or wp-login.
 * I broke it while changing siteurl and home without the “www.”, because I read
   on WPBeginner that it’d help me fix the “too many redirects” issue I was getting
   on my customizer. It didn’t, and the next day, when I wanted to login to wp-admin,
   the page redirected to itself.
 * I read it was a common issue as well, so I tried to fix it, and then I got another
   error, “cookies not accepted”. I tried to fix that one as well… And so it went…
 * Long story short, I made a db backup and a ftp backup of wp-content, includes&
   admin, and the loose files on the root folder of the WP installation, and so 
   far, I couldn’t get to fix what got broken.
 * As a temporary measure, I’ve created a similar webpage so people would land on
   our original links, and get redirected to a subdomain (aduba.org.ar/aduba/) from
   anywhere, by making a redirect modification on index.php that somehow (don’t 
   ask me how) spread to the whole aduba.org.ar/(anything that’s not /aduba/).
 * **[— END EXPLANATION ON HOW I MESSED UP —]**
 * So, now the mess is temporarily covered, but I need the whole page and its posts,
   pages, media, and hopefully, plugins information, such as form entries.
 * I don’t know how much of it will be possible to recover. But if it’s all posssible,
   may it be welcome!
 * Even on a new installation of wordpress, if I make a new db and make the installation
   point to it, it’ll automatically get broken, so I thought of getting rid of that
   information, while keeping posts and stuff.
 * I couldn’t find so far a tutorial on how to do this, because people migrate their
   webs with easier automated tools. And now I find myself in a hurry, because the
   website owners are getting angry at my lack of real solutions…
 * So… Could anyone help me? Even if it’s just a link to a long article on how to
   do this, or the right youtube tutorial, anything’s good at this point
    -  This topic was modified 8 years, 5 months ago by [luloxiano](https://wordpress.org/support/users/luloxiano/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmigrate-wp-posts-pages-using-phpmyadmin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [luloxiano](https://wordpress.org/support/users/luloxiano/)
 * (@luloxiano)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/migrate-wp-posts-pages-using-phpmyadmin/#post-9726836)
 * Note that the page may seem like it’s working, but that’s the clone!
 *  [jfambrini](https://wordpress.org/support/users/jfambrini/)
 * (@jfambrini)
 * [8 years ago](https://wordpress.org/support/topic/migrate-wp-posts-pages-using-phpmyadmin/#post-10235283)
 * Hey Lulo, did you find an answer to this problem. Need to migrate just the posts,
   categories and menus selectively. If you have found a solution please let me 
   know.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Migrate WP Posts & Pages using PhpMyAdmin’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [ftp](https://wordpress.org/support/topic-tag/ftp/)
 * [phpmyadmin](https://wordpress.org/support/topic-tag/phpmyadmin/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [jfambrini](https://wordpress.org/support/users/jfambrini/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/migrate-wp-posts-pages-using-phpmyadmin/#post-10235283)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
