WordPress.org

Support

Support » How-To and Troubleshooting » Publishing all pages at once?

Publishing all pages at once?

  • Is there a way to publish all pages at once? I’ve created about 80 pages yet none are published – do I have to do each one manually?

Viewing 1 replies (of 1 total)
  • If you have access to your database through a tool (like say phpMyAdmin) that allows SQL queries, this will do it:

    UPDATE wp_posts SET post_status = REPLACE(post_status, 'draft', 'publish') WHERE post_type = 'page';

    If using a different table prefix than the default (wp_), modify the name of the posts table — wp_posts — to suit.

Viewing 1 replies (of 1 total)
  • The topic ‘Publishing all pages at once?’ is closed to new replies.