Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @lffuenmayorr,

    Thanks for choosing MPG!

    Please provide us a screenshot with the URL Generation section from your project, as you can see here and a screenshot with the data from your source file where the column related to the city can be seen.

    Thanks!

    Thread Starter lffuenmayorr

    (@lffuenmayorr)

    Hi @luciamarinescu, thanks for getting back to me.

    Look at the screenshot HERE.

    It should work like the screenshot that you sent above, but it’s not working that way. As you can see, the rule is being generated twice over the same URL so it shows a 404 error when clicking on it.

    Regards.
    Luis.

    Plugin Support Poonam Namdev

    (@poonam9)

    Hello @lffuenmayorr,

    Please share a screenshot or the shortcode you generated for adding those links at the bottom of the page. It will help us to debug the issue.

    Thread Starter lffuenmayorr

    (@lffuenmayorr)

    Hi @poonam9 , thanks for getting back to me. Find below the shortcode… I’m taking exactly the same code that generates the plugin, just some text was added but the issue persists.

    [mpg project-id=”3″ where=”mpg_admin_name={{mpg_admin_name}}” unique-rows=”yes” limit=”5″] Buy A Gravity Bong In {{mpg_city}}, {{mpg_admin_name}}
    [/mpg]

    Plugin Support Vytis

    (@bvytis)

    Hi @lffuenmayorr,

    I think there was some confusion, my colleague above (Lucia) asked for a screenshot of the project to see how the URLs are build, this section: https://vertis.d.pr/i/0cQFOO

    Can you share it also? Because you share a screenshot of the section where to click those links in the front-end. Thanks!

    Thread Starter lffuenmayorr

    (@lffuenmayorr)

    Hi @bvytis ,

    Sure, check the requested screenshot HERE.

    Also, find HERE a screenshot for the shortcode in the WordPress editor in production.

    The link preview shows a correct URL in the MPG generator… but when I add the shortcode to the WP editor, it duplicates the URL and breaks it (as you can see in my previous front-end screenshot).

    Regards.
    Luis

    Plugin Support Vytis

    (@bvytis)

    Hi @lffuenmayorr,

    Thank you for sharing more details.
    I still don’t find how this issue could be happening so getting back to the shortcode that you’re using and shared above:

    [mpg project-id=”3″ where=”mpg_admin_name={{mpg_admin_name}}” unique-rows=”yes” limit=”5″]<span>?</span>Buy A Gravity Bong In {{mpg_city}}, {{mpg_admin_name}}
    <span style=”color: rgb(50, 55, 60); font-family: "Open Sans", sans-serif; font-size: 14.4px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;”>[/mpg]</span>

    But as you get links generated you shoult be using <a href with tags also, can you share full shortcode with <a href to see tags used there?

    For example:
    [mpg project-id=”1″ where=”mpg_country=Kosovo;”]
    <a href=”/{{mpg_city}}-{{mpg_country}}”>
    [/mpg]

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘MPG issue with URLs on internal links’ is closed to new replies.