Title: Wrong columns
Last modified: May 27, 2025

---

# Wrong columns

 *  Resolved [fonsiwp](https://wordpress.org/support/users/fonsiwp/)
 * (@fonsiwp)
 * [1 year ago](https://wordpress.org/support/topic/wrong-columns/)
 * Hello,
 * I’ve created my Google Sheet with all the correct columns and corresponding values.
   I’ve also set up the template to use those variables, but I’ve run into a small
   issue.
 * The template is rendering variables that don’t match the ones defined in my spreadsheet.
   For example, I have a column named `city`, so I expect to use `{{mpg_city}}` 
   in the template. However, the template is displaying `{{mpg_h1}}` instead, which
   breaks the expected behavior and is currently preventing me from using the plugin
   properly.
 * I’ve double-checked everything several times and everything seems to be configured
   correctly.
   Any idea what might be causing this?
 * Thanks in advance for your help.

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

 *  Thread Starter [fonsiwp](https://wordpress.org/support/users/fonsiwp/)
 * (@fonsiwp)
 * [1 year ago](https://wordpress.org/support/topic/wrong-columns/#post-18486720)
 * Hello again,
 * The issue was that I was using `{{mpg_url}}` inside my template, thinking it 
   was a regular dynamic variable from my spreadsheet. However, `mpg_url` is possibly
   a reserved variable in Multi Page Generator .
 * By using it in the content of the template, it caused rendering problems and 
   prevented other variables like `{{mpg_city}}` or `{{mpg_h1}}` from showing properly.
 * **Solution:** I renamed the column in my spreadsheet from `url` to something 
   else (like `slug`), updated the template accordingly (using `{{mpg_page_slug}}`),
   and everything started working perfectly.
 * Hope this helps others avoid this small but tricky issue!
 *  Plugin Support [Poonam Namdev](https://wordpress.org/support/users/poonam9/)
 * (@poonam9)
 * [1 year ago](https://wordpress.org/support/topic/wrong-columns/#post-18487111)
 * Hi [@fonsiwp](https://wordpress.org/support/users/fonsiwp/),
 * Yes, you’re absolutely right — `{{mpg_url}}` is a reserved variable in Multi 
   Page Generator, as it’s used internally to handle page URLs. Using it in your
   template/source file can indeed cause conflicts and prevent other variables from
   rendering properly.
 * Great job identifying the issue and sharing the solution — renaming it to something
   like `slug` is exactly the right approach. This will definitely help others avoid
   the same confusion!
 *  Thread Starter [fonsiwp](https://wordpress.org/support/users/fonsiwp/)
 * (@fonsiwp)
 * [12 months ago](https://wordpress.org/support/topic/wrong-columns/#post-18494441)
 * Thank you for your great plugin 😉
 *  Plugin Support [rodicaelena](https://wordpress.org/support/users/rodicaelena/)
 * (@rodicaelena)
 * [12 months ago](https://wordpress.org/support/topic/wrong-columns/#post-18495939)
 * Hi [@fonsiwp](https://wordpress.org/support/users/fonsiwp/),
 * Thank you very much for your kind words 🙂 In case you have a couple of minutes,
   and want to share that as a review here [https://wordpress.org/support/plugin/multiple-pages-generator-by-porthas/reviews/#new-post](https://wordpress.org/support/plugin/multiple-pages-generator-by-porthas/reviews/#new-post),
   we would appreciate it very much.
 * Thank you for considering this.

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

The topic ‘Wrong columns’ is closed to new replies.

 * ![](https://ps.w.org/multiple-pages-generator-by-porthas/assets/icon-128x128.
   gif?rev=3274397)
 * [MPG – Multiple Page Generator, Bulk Landing Pages & Programmatic SEO](https://wordpress.org/plugins/multiple-pages-generator-by-porthas/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-pages-generator-by-porthas/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-pages-generator-by-porthas/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-pages-generator-by-porthas/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-pages-generator-by-porthas/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-pages-generator-by-porthas/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [rodicaelena](https://wordpress.org/support/users/rodicaelena/)
 * Last activity: [12 months ago](https://wordpress.org/support/topic/wrong-columns/#post-18495939)
 * Status: resolved