Automating Page Creation

I have a huge website, with thousands of pages. It’s a reference site, with a page for every country, each U.S. state, every species of mammal, etc.

I’ve tried WordPress on some smaller sites and love it. Now I’m trying to figure out if there’s a way to convert my reference site to WordPress.

So here’s my first question. If I replace this site with WordPress, is there some way I could automate page creation? For example, let’s say I want to create 250 pages for countries and 50 pages for U.S. states. Rather than create each page one at a time, I’d like to just push a button and let WordPress instantly create 300 pages, each with a specific title, URL and channel (Nation vs State).

Is there a way to do this?

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

Where is the content coming from? You can easily write PHP code that will create pages, but the content has to come from somewhere.

If the content already exists, say in a database that you own, then you can code a process to take the data from a table/record and convert it into a post/page.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x