How to convert “Post” to “Page”

How to convert "Post" to "Page" 2

We know there are different types of content in WordPress. By default, there are posts and pages.

Just simply run this SQL query in phpMyadmin (recommended for developers only)

If you’re not a developer then don’t to anything just simply log in to your cPanel >open phpMyadmin >

Find your database and click SQL tab, check this screenshot

How to convert "Post" to "Page" 3
UPDATE wp_posts SET post_type = 'page' WHERE post_type = 'post'

I wanted something simple and easy. So I opted to use Post Type Switcher — a WordPress plugin which allows you to switch / convert the post type without any hassles (and without a line of code).

Have you ever changed a WordPress post to a page or vice versa? Share the method you used for changing the page to post in the comments below!

Leave a Reply