=== Multiple Page Generator Plugin - MPG ===
Contributors: daniilkrok, p0rthas, freemius, lysyiweb
Tags: bulk pages, landing page, bulk edit, pages, mpg, keyword, sitemap, template, csv, generator
Requires at least: 4.6
Tested up to: 5.4.2
Stable tag: 2.1.2
Requires PHP: 5.6
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create pages in bulk. This mass landing page creator can generate pages, bulk edit and update pages in minutes with custom URLs and content.




== Description ==

#### MPG 1.x to MPG 2.x Migration Guide: **[https://help.mpgwp.com/en-us/article/mpg-1x-greater-2x-migration-guide-s4nqvx/]( https://help.mpgwp.com/en-us/article/mpg-1x-greater-2x-migration-guide-s4nqvx/)**


**[MPG](https://mpgwp.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme)** is the solution for web developers and SEO professionals that want to create multiple pages in bulk under the same domain.

You can easily boost your website with unique pages in minutes with MPG. Generate thousands of keyword targeted landing pages and increase your chances of getting top ranked on search engines.


`<iframe width="560" height="315" src="https://www.youtube.com/embed/tsr\_RfLMVYU" frameborder="0"  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>`

With the **[MPG: Multiple Pages Generator](https://mpgwp.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme)** Wordpress plugin, you can keep your website lean and fast and still generate an unlimited number of webpages with customized content using just one template page and a CSV file.

###USE CASES


**Landing pages**
Reach out far and wide with multiple high-quality and unique landing pages to increase your engaged audience.

**Location pages:**
Boost your local SEO with landing pages targeting specific locations. You can even personalize each page with a corresponding and [customized map](https://www.mpgwp.com/blog/2019/04/24/embed-a-google-map-to-multiple-pages/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme).

**Profile pages:**
Manage profile pages within your website, simply update the information in your CSV file and re-upload whenever you need to.

**Product pages:**
Showcase your products and optimize your conversion rates by dedicating a landing page for each one.

**Translation pages:**
Have a URL for each language you want to present yourself in.

**Service pages:**
Create targeted keyword landing pages by having a detailed page for every service offered.

**Client pages:**
Increase your conversions by creating a customized welcome page for each of your clients.

Explore all the [use cases](https://www.mpgwp.com/use-cases/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) that this mass page creator plugin makes possible for your website and your business.

### UPDATE ANYTIME

What’s the point of creating multiple new pages and then lose track of them? **MPG** makes it incredibly easy to bulk edit if you want to make small and big changes to your new pages.

You can delete or edit information from your CSV file, then simply re-upload it. So if you want to replace a certain keyword, add or delete a page, just go to your CSV and make your alterations.

If you want to change the look of your landing pages, you can bulk edit your pages by editing and updating your template page. Add a piece of information, change colors, coding, and more and MPG will do the rest.

### UNIQUE LANDING PAGES

You spend a lot of time and effort making sure your website stands out from the crowd and represents your company faithfully. That’s why your landing pages need to do that too.

You can design and customize your landing page template however you like. Do you have your own Javascript you need to keep? Or maybe you’re using a template from a creative plugin? **MPG**easily adapts to all Wordpress formats.

Simply edit the page you choose as the template by adding the shortcodes to the data from your CSV file and [MPG will replace the information](https://www.mpgwp.com/blog/2019/04/10/create-pages-in-bulk/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) according to each URL selected.

### MOBILE FRIENDLY

If you created a landing page that is mobile friendly, that’s awesome. With **MPG** you can multiply that responsive page by a thousand and each new one will remain mobile-friendly and can have unique content data, from the URL and keywords to meta-data and alt-text.

###CUSTOMIZE ELEMENTS

MPG allows you to customize your new pages in mass with just simple shortcodes. Add as many variables to your pages to make them incredibly unique and user-friendly.

Let’s say you want to create service pages in bulk, each page would include a title, a description, an image with alt-text, a call to action, buttons, an address, a map, contact information, a short video, and a form. With MPG you can make sure each of those elements is unique and optimized. You can add as many, or as little, elements to your page as you like.

### HOW IT WORKS

The Multiple Page Generator plugin is the ultimate mass landing page creator plugin. And it's easier to use than you think, check out **[how it works](https://www.mpgwp.com/how-it-works/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme):

1. Make sure all of your variable data is in a CSV file. Add a column with your custom URLs and upload it to the MPG plugin. Have your URLs in a **/my-new-website-url/** format.

2. Edit an existing page or a new one with the generated shortcodes from the column header names of your file, using {{mpg_**headername**}}.

3. Go to the MPG plugin. Set your page template and upload the settings. Enjoy!

### MULTIPLE PAGES. LEAN WEBSITE.

Keep your site lean and easily manageable, the MPG: Multiple Pages Generator simply replaces data according to the URL typed in the browser, so your website will keep its optimized speed.

Use this mass landing page maker to quickly generate hundreds of thousands of URLs from just one template page, without the need to create individual pages. You can even use an existing page, simply include the shortcodes.

### SEO FRIENDLY

**MPG** is fantastic for Search Engine Optimization. Do you want to rank well in multiple locations? Rank well for several keywords? Then MPG is your new favorite tool. Localize your content and get indexed by Google for hundreds, even thousands of keywords.

### ADDITIONAL SITEMAPS

Grab search engines attention and direct them to your new pages. **MPG** has an **[additional sitemap generator tool](https://www.mpgwp.com/blog/2019/05/03/create-a-sitemap-for-new-pages/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) that automatically creates and submits a sitemap of your new pages to search engines.

### GENERATE INLINKS

Create a user-friendly experience in your website by [adding an MPG shortcode] (https://www.mpgwp.com/blog/2019/04/26/quickly-generate-links-for-multiple-pages/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) anywhere in your website that can filter and list your new pages. The shortcode is simple: **[mpg where= “mpg_HEADERNAME1=VALUE”] {{HEADERNAME2}} [/mpg]**

Example: So if you created several location pages, and you want to list only the cities in the United States, simply add the following shortcode to whatever page you want it to show:

**[mpg where= “mpg_country= United States”] {{city}} [/mpg]**

### OPTIMIZE LEAD GENERATION

Create multiple pages with targeted keywords that will match specific searches. This increases the chances of your audience finding and clicking on your website.

**MPG** allows for unlimited personalization, so don't worry about duplicate content, you can include images, videos, maps, etc each specific to a single, customizable URL.

###FREE

Enjoy MPG’s fantastic [features](https://www.mpgwp.com/features/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) for free to create up to 50 incredible new pages for your website.

###TRY A DEMO

Discover how easy-to-use **MPG** is and sign up to [try out a demo version](https://www.mpgwp.com/get-mpg/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme). Simply sign up and follow the link you get in your e-mail. You’ll have access to a sample CSV file and a sample template page and you can alter them as much as you like to see how much MPG can do for your website.

### TRY MPG PRO

Forget the 50-page limit with **[MPG Pro](https://www.mpgwp.com/get-mpg/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme)** and create as many new pages as you like in minutes, thousands, tens of thousands, hundreds of thousands and more. Become unlimited with **MPG Pro**.

### UPCOMING NEW FEATURES:

Scheduled CSV import, in-line editing without the need to re-upload CSV file, multiple templates support, and much more!

###DO YOU LIKE MPG? :)

Follow us on [Twitter](https://twitter.com/MPGWordpress) or [Facebook](https://twitter.com/MPGWordpress)
Learn from our tutorials on [Youtube](https://www.youtube.com/channel/UCNZXoOtxC2l2nL2s6MaburQ)
Rate us on [Wordpress](https://wordpress.org/support/plugin/multiple-pages-generator-by-porthas/reviews/?filter=5/#new-post)



== Installation ==

### HOW TO ACTIVATE WITHIN WORDPRESS

1. Go to 'Plugins > Add New'
2. Search for 'MPG: Multiple Pages Generator by Porthas'
3. Click install then activate

### HOW TO ACTIVATE MANUALLY

1. Upload the plugin files to the /wp-content/plugins/porthas-multi-pages-generator directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the &#39;Plugins&#39; screen in WordPress
3. Use the 'Multiple Pages Generator' screen to configure the plugin

== Frequently Asked Questions ==

**What is the MPG plugin for?**

The [Multiple Pages Generator](https://mpgwp.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) plugin is perfect for creating an unlimited number of landing pages with personalized content and searchable URLs from a single, easily manageable template and CSV file.

**How does it work?**

When a URL is requested by your browser, the first priority is to load an actual existing page or post. If it doesn't exist, before returning 404, MPG will check if the URL is within its database. If it is, it will render the selected template page, replace all URL related data and shortcodes, return status 200, and load the page for the end user. Find out more [here.](https://www.mpgwp.com/how-it-works/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme)

**Is there a tutorial?**

Yes, check out our tutorial videos and step-by-steps at [mpgwp.com/tutorials] (https://www.mpgwp.com/tutorials/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme)

**Is the MPG plugin free?**

You can use all the features of the plugin for free to create up to 50 pages in bulk. To create an unlimited amount of landing pages, you can upgrade your plan. Check out our incredible deals here: [mpg.porthas.com/get-mpg](https://www.mpgwp.com/get-mpg/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme)

**How does MPG help with my SEO?**

The MPG plugin can create pages with customized keywords that help your site rank higher for each search. You can include specific addresses for each page, localizing your content and making your page a priority for users in that area. And every metadata can be edited to suit the content of each of the thousands of new pages created.

On top of that, MPG allows you to create sitemaps with all your new URLs and automatically submit to search engines for indexing.


**What if my URL is showing a 404?**

First, make sure the plugin is properly installed, the CSV is loaded and the template is properly set. If the problem persists:

1. Check that the requested URL doesn&#39;t belong to an existing page, especially in the trash.

2. Check that the requested URL is identically included in the data file uploaded to the MPG plugin.

3. Make sure to disable any custom 404-page plugins. Sometimes they check the page URL in the database before MPG does and return 404.

4. Still getting the error message? Write to support **[here.](https://wordpress.org/support/plugin/multiple-pages-generator-by-porthas)**

**How can I request a feature?**

E-mail us at [mpg@porthas.com](mailto:mpg@porthas.com)


== Screenshots ==
1. Multiple pages.** Unique and searchable URLs in minutes.
2. Custom URLs.** Include a URL column in your CSV file
3. Additional sitemap generator.** Create and submit a new sitemap automatically.
4. Embed Google Maps.** Customize all elements in your pages.
5. Create inlinks.** Optimize your website with internal links to your new pages.



== Changelog ==

= 2.1.2 =
* Fixed bug with Create new page

= 2.1.1 =
* Fixed bug with links in menu for generated pages
* Fixed bug for RankMath SEO plugin (wrong title)
* Changed chat to Tawk
* Extended list of links in URL generator preview to 5 (instead of 1) 

= 2.1 =
* Added Spintax support

= 2.0.5 =
* Fixed <link rel="alternate"> link, that contain shortcodes
* Fixed partial loading of Dataset Library page.
* Improved UX in shortcodes builder: composed URL in Main tab is mirrored in Shortcodes tab.


= 2.0.4 =
* Fixed canonical URL link.
* Fixed OpenGraph og:url

=  2.0.3 =
* Fixed removing source file after plugin update
* Fixed bug with replacing shortcodes in shortcode builder, when shortcode contain spaces
* Improved multisite support

= 2.0.2 =
*  Fixed 404 error, when used mpg_url column in url builder, with slashes in the middle of string

= 2.0.1 =
* Fixed Elementor support
* Fixed "white-screen" in Firefox
* Fixed support of Yoast SEO and All in One SEO pack

= 2.0 =
* New user interface and user experience
* Used Spout library as source file reader. That solved problem with special symbols, line breaks and encoding
* Multiple condition in where=“” and visual condition builder
* limit=“” and operator=“” attributes for [mpg] shortcode
* URL builder with preview
* Now, custom types  entities may be used as template (pages, posts, custom types)
* Updated dataset library with more powerful deployment possibilities
* Fixed bug with repetitive items in response of where=“”


= 1.5.2 =
* Added support slashes in url, like /country/city/street/
* Added autotrim BOM mark for improving compatibility with files exported from Excel.

= 1.5.1 =
* Added validator for .csv to detecting wrong file encoding and values separator while uploading.
* Minor bugs fixed

= 1.5 =
* Added datasets library
* Minor bug fixes

= 1.4.2 =
* Sitemap creation fix

= 1.4.1 =
* Fixed behaviour of first install.
* Fixed "Import Demo" disabled button
* Increased performance

= 1.4 =
* Added Wizard
* Fixed minor bugs

= 1.3.7 =
* Fixed bug when clean installation was broke markup


= 1.3.6 =
* Fixed bug with inappropriate behaviour of "Import Demo" button
* Added support of cyrillic symbols in .csv files
* Now, pagination in search results working properly
* Updated Freemius SDK

= 1.3.5 =
* Activation bug fixed

= 1.3.3 =
* License activation bug fixed

= 1.3.1 =
* Small bug fixed


= 1.3 =
* Added multitab feature

= 1.2 =
* Added "Welcome walkthrough" page
* Implemented scheduled template applying. One time or with some periodicity from remote server or Google Spreadsheet.
* Bugs fixes

= 1.1 =
* Implemented demo data, in case, if you do not upload your template file yet
* Fixed bug with overriding template file in WordPress multisite mode
* Changed view of notification
* Fixed issue with http / https access
* Fixed small bugs
* Improving speed

= 1.0.2 =
Small fixes. Testing on latest WP version.

= 1.0.1 =
Added new functionality that allows you to filter the results as well as group the filtered results. You can use the new shortcode that allows you to do this: [mpg where='' group=''][/mpg]. In the "where" parameter you need to specify the name of the column and the value by which you need to filter. Example: where='mpg_column_name=value' or for multi column filter just use comma like where='mpg_column_name=value, mpg_column_name2=value2,...,mpg_column_name7=value7'. Filtered results can be grouped by the value of any of the columns. Example: group='mpg_column_name'. For filtered data, you can specify your HTML pattern, just insert HTML code inside shortcode like this: [mpg]<p>{{column_name}}</p>[/mpg]. Full example of new shortcode look like: [mpg where='mpg_state=NY' group='mpg_city']<p>{{city}}</p>[/mpg]

= 1.0 =
* Realize version.