Title: Create multiple pages without manually creating them
Last modified: September 13, 2020

---

# Create multiple pages without manually creating them

 *  [akshateic](https://wordpress.org/support/users/akshateic/)
 * (@akshateic)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/create-multiple-pages-without-manually-creating-them/)
 * Hi Guys… I am a (non-web technology) coder and a wordpress beginner.
 * I am planning to host my own website with Songs and their lyrics. Eventually 
   want to monetize it through ad-hosting.
 * I have gathered around 3.5 thousand of songs lyrics and their meta-data. I want
   to put them on my website but do not want to create 3.5k pages manually. I see
   some plugins like [Multiple Page Generator](https://www.google.com/url?client=internal-element-cse&cx=012566942813864066925:bnbfebp99hs&q=https://wordpress.org/plugins/multiple-pages-generator-by-porthas/&sa=U&ved=2ahUKEwjtuKPMoebrAhXBzTgGHaWpBT0QFjABegQICRAB&usg=AOvVaw0b7pRIPexw0iau450Sd2TZ)
   which seem to enable the same. However, I wanted to know if there are other native/
   better options.
 * Eventually when I will host ads on those, I do not want to manually configure
   each of those pages.
 * Can someone please guide me to any “core functionalities”/”good plugins” that
   would help me do that in a best possible way?
 *  My sincere apologies if this question is too basic to ask.
    -  This topic was modified 5 years, 8 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/create-multiple-pages-without-manually-creating-them/#post-13399406)
 * What you want is a custom template that is used for all of the lyric pages. The
   page content is generated dynamically based on requested parameters in the URL.
   You really only add one page based on the template. Its code will deliver unique
   content based on the information that was requested. Lets say you request _example.
   info/lyrics/led-zeppelin/stairway-to-heaven/_. The page that is served is “lyrics”,
   the band and song are parameters the template code uses to fetch the appropriate
   data from the database and serve it to the browser.
 * You only have the one “lyrics” page, but it can dynamically generate nearly infinite
   possible sets of lyrics, limited only by your DB capacity.
 *  Thread Starter [akshateic](https://wordpress.org/support/users/akshateic/)
 * (@akshateic)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/create-multiple-pages-without-manually-creating-them/#post-13400777)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/) Thank you for the response.
   
   I do get the methodology to achieve it. However, while going through my WordPress
   Admin interface, I am unable to understand which specific functionality to use
   to get this going.
 * Can you please help in that?
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/create-multiple-pages-without-manually-creating-them/#post-13403972)
 * The admin interface is only going to help you after you’ve done the necessary
   coding work. If you are using a distributed theme that is subject to occasional
   updates, like those from the plugin repository on this site, it’s strongly recommended
   that you create a [child theme](https://developer.wordpress.org/themes/advanced-topics/child-themes/)
   to contain your custom template. Otherwise updates will wipe out your custom 
   work.
 * Your template could begin with a copy of your theme’s page.php if it has one,
   otherwise index.php might work. The main reason to start with a copy is so the
   theme’s styling is applied to your custom content. If that’s undesirable, you
   could start anew with an empty .php file if you wanted to. Name the file in accordance
   with [template hierarchy](https://developer.wordpress.org/themes/template-files-section/page-template-files/#page-templates-within-the-template-hierarchy).
 * Your code to fetch a song’s lyrics and display them needs to get the desired 
   song from the super global `$_GET`, which means a request URL needs to be in 
   the form _example.info/lyrics/?song=stairway-to-heaven&artist=led-zeppelin_. 
   I recommend starting with that format to start with, but eventually you will 
   likely want the more SEO friendly URL which I used as an example in my last reply.
   To get WP to recognize such an URL structure but still have your code be able
   to get parameters from `$_GET`, you need a custom rewrite rule to transform the
   SEO friendly URL to one that works for `$_GET`. To add such a rule, use [add_rewrite_rule()](https://developer.wordpress.org/reference/functions/add_rewrite_rule/).

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

The topic ‘Create multiple pages without manually creating them’ is closed to new
replies.

## Tags

 * [multiple pages.](https://wordpress.org/support/topic-tag/multiple-pages/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 3 replies
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/create-multiple-pages-without-manually-creating-them/#post-13403972)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
