Create comprehensible internal links

Generating thousands of pages with MPG is a great time-saver and SEO tool. However, more than pleasing Google, you need to make sure those new pages are easy to find and your website simple to navigate for the end user. There is a very simple MPG shortcode that you can add to the template or any page of your website in order to filter and list your new URLs.

Hi, this is Laura with MPG, the Multiple Pages Generator plugin.

So now you have thousands of new pages on your website, but how do you organize them into proper groups to make navigating your website a lot easier.

Well, the MPG plugin has a simple shortcode for that.

Let’s look at our example CSV file, I can see how quite a few of the most populated cities in my list are in California, so let’s create a list of all our California cities.

This list can appear anywhere on your website, so just choose the page you want your list to be in, like your home page or a Contact Page.

Now, choose where you want your list to show and type in the shortcode:

Great, now if we take a look at the page right now, we can see our California cities neatly listed.

But none of them have URLs, so let’s do one last edit to our shortcode.

Simply select the {{mpg_city}} shortcode and click on the Link icon to embed a link.

Type in your domain name then the shortcode {{mpg_url}}

Now let’s see how it looks like.

Great, all the cities are listed and each one takes you to the corresponding URL.

Check out our other videos for great tips on how to use MPG.

If you want to know more about MPG go to

If you liked this video please give it a thumbs up and subscribe to our channel.

Thanks for watching!

  • Organize your content

    You can create an unlimited number of pages with MPG, these can be landing pages, location pages, product pages, etc. To make it easier for users to find these pages you need to decide how you would like to organize them.

    Let’s say you create a page for every city in the United States (that’s more than 36,000 individual pages), you can categorize them by region, state and/or county. In each city page, you can create a filter that links to the other city pages that are in the same county. While on a Contact or Locations page, you can list and link all of your pages.

    list of locations with URL links

  • List your internal links

    Whichever page you choose to include the list of links to your new pages, you simply need to decide where and write the following shortcode including the header names and value that you want MPG to filter:

    [MPG where= “mpg_HEADERNAME1=VALUE”] {{mpg_HEADERNAME2}} [/MPG]

    For example, if you created location landing pages for cities in every state and you want to only list the cities that are in California (written as ‘CA’ in your file), your shortcode would look something like this:

    [MPG where= “mpg_state=CA”] {{mpg_city}} [/MPG]

    Or if you want to list all of your new pages, your shortcode would be:

    [MPG where= “”] {{mpg_city}} [/MPG]

    Important: unlike the examples, the code needs to be written all in lower case letters.

    MPG shortcode list of pages generated

  • Include the URLs for each new landing page

    Before you Update or Publish the page with the shortcode, remember to include the URLs to each new page. Simply select the shortcode ‘{{mpg_city}}’ and click on the link icon to embed a link. Write your domain name plus the shortcode ‘{{mpg_url}}’. It would look like this:

    MPG Plugin include URL to shortcodes

    Now update the page and check it out. All the pages that are within the filtered list you created will appear with a link to its corresponding page.

  • Bonus tip: Use HTML coding to personalize your list

    The code will automatically produce a horizontal list, if you prefer a vertical list, numbered, with or without a marker, etc., all you need to do is add some HTML coding to your shortcode.

    For a vertical list of all your pages without a marker, you can write the following shortcode:

    MPG plugin list link shortcode example

MPG also has a sitemap generator tool that automatically generates sitemap index files with all the newly created pages and submits them to search engines. Try it yourself! Leave us a comment if you like this article or if you have any questions.