How to Create Pages in Bulk with MPG

Getting started with the Multiple Pages Generator

So you want to create thousands of unique WordPress pages in bulk? MPG is the plugin for you. In this quick video tutorial, you’ll see the simple step-by-step process of setting up the Multiple Pages Generator.

Hi, I’m Laura with MPG, the Multiple Pages Generator WordPress plugin by Porthas Inc.

In this video, I’m going to show how to set up the MPG plugin and create thousands of landing pages for your website in minutes.

So once you’re logged into your WordPress site, look to your side menu and go to ‘Plugins’, click on ‘Add New’ and head over to the Search Bar.

Search for MPG: Multiple Pages Generator.

Then just click Install Now, and once it’s installed, click Activate.

Great! Now your MPG plugin is activated, all you would need to do is upload a CSV file and set a page as your template. So let’s make sure those two things are in the correct format. Starting with the CSV file.

Here is a sample file I created with a list of cities, their states, and the population number. You can add as many columns as you like with your variable data, but let’s work with this information for now.

The most important column in your CSV file will be the URL column. These are all the new, functional and searchable URLs that MPG will generate so it’s important that each one is unique and can’t exist elsewhere in your website.

Let’s create an example together. Here we add Example City, which is in Example State and has X amount of people living there.

As you can see, there’s no need to include the domain name for the URL, but there is a format to be followed, the URL starts and ends with a slash and the spaces are replaced with hyphens. So our example becomes: /example-city/

There we go! Perfect.

Now, let’s look at our template page. Keep in mind the header names from your file, they will become the new shortcodes for your template page.

You can edit an existing page or create a new one, all you need to do is include the shortcodes to the data in your CSV file. So for our example, let’s create a new page.

Go to Pages, click on ‘Add New’.

For the title I’m going to write:

This is {{mpg_city}}, {{mpg_state}}

And on the body:

Home to {{mpg_population}} people.

There. Now I just click ‘Publish’. And head over to the MPG plugin.

Select the page we just created as the template, click ‘Set Post Template’ and you’ll see a confirmation message here on the side. And that’s it!

As you can see from the Pages editor, the website is still lean, and all I need to do is type my new URLs into the browser. Like our very own: Example City, or New York City, or Los Angeles.

And I can see how each one gives a 200 OK response, has it’s own customized data formatted correctly, so if a shortcode was written in H1 heading format, then it will also appear as H1. And even the metadata, as you can see here on the title is also unique.

And there you have it!

Check out our next video where I explain how to include unique maps to all of your new landing pages.

Thanks for watching!

What you learn in this video:

  • How to install MPG 

    Start time: 00:14

    Once you’re logged into your WordPress site, look to your side menu and go to Plugins, click on ‘Add New’.

    On the upper left corner you’ll see a Search Bar, type in “MPG: Multiple Pages Generator” to find our plugin.  

    Go to the MPG plugin and click on ‘Install Now’, it should finish installing in just a few seconds. Then just click ‘Activate’.

  • How to format the CSV file 

    Start time:  00:46

    In order for the MPG plugin to work correctly, your CSV file needs a small update. You can have as many columns as you like in your file, with all of your variable data.

    You just need to add a column for your new and customized URLs. Make sure that each URL is unique and doesn’t exist anywhere else on your website, not even in the Trash.

    All the URLs have to start and end with a slash ‘/’ and the spaces are replaced by hyphens ‘-’.

  • Set up the template page 

    Start time:  01:45

    You can edit an existing page, or create a new one. Customize your template page any way you want, every kind of data that is a constant should be set up on this page.

    The column header names from your file are used to create the shortcodes so that MPG can pull the correct data, they will always be in the following format: {{mpg_headername}}

    Now, wherever you would like to include a variable data in your template page, add the shortcodes from your CSV file. You can even use special shortcodes to filter and list all of your new pages, embed a Google map, include images, videos, etc. Publish the page.

  • Create several WordPress pages on the fly 

    Start time: 02:39

    Go to your MPG plugin dashboard. Next to the ‘Set Post Template’ button, there is a drop-down field, use it to select the template page you created.

    Click the ‘Set Post Template’ button.

    Then you can drag and drop your CSV file or use the ‘Choose File’ button to select it. Click ‘Upload Settings’ and that’s it!

    All the new pages are completely functional and searchable. You can check out each new one by typing it into your browser.

More than just creating pages in mass, the MPG plugin has more features to optimize your website and save you plenty of time. Check out our other tutorials on how to use the plugin and leave us a comment if you like this article.

All Tutorials