question for wordpress geniuses :)

zionbar

Elite Member
Joined
Apr 6, 2015
Messages
4,146
Reaction score
4,614
Hey,

trying to turn pages into posts (so stupid of me to start with pages idk whos the idiot "guru" i listened to)
but anyway heres my problem

These pages go like - www.mysite.com/parent-page/page-name

If I convert it to posts, I cant use parent pages (posts dont support parent pages) and when I try to use a category in the same name of the parent page instead, the link just wont work...

so how do i convert these pages to posts WITHOUT losing my original url (for seo purposes)

thanks
 
Maybe this is what you're looking for?
https://wordpress.org/plugins/convert-post-types/
https://wordpress.org/plugins/vice-versa/

or in batch mode:
log in to your phpmyadmin, select the wordpress database, make a backup of it (in case something goes wrong) and enter the following SQL query:

UPDATE wp_posts SET post_type=’post’ WHERE post_type='page';
Be aware that all pages are converted to posts with this query.

I hope it helps.
 
If I convert it to posts, I cant use parent pages (posts dont support parent pages) and when I try to use a category in the same name of the parent page instead, the link just wont work...
You should change the parent page slugs, then create the categories. It will work.
 
Back
Top