Sitemap doesn’t include Unbounce landing pages

#613904
  • Resolved Anonymous
    Rank Math free

    Hi, i’m the owner of the website Loopsrl.agency.

    We are using a landing page builder called Unbounce that is integrated with WordPress through a plugin.

    I noticed today that pages built through unbounce are not added to a sitemap. Is it possible to add a post type to these pages in order to include them?

    Some details:

    – Unbounce doesn’t work on the WP builder but has its own builders.
    – Here is an example of unbounce page on my website: https://loopsrl.agency/multiplier
    – My idea is using unbounce more and more to create important pages on my website

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Thank you for contacting Rank Math support. Apologies for any inconvenience this issue might have caused you.

    On your WordPress Admin Area go to Rank Math SEO > Sitemap Settings > Landing Pages. Enable Include in Sitemap and save. Clear your site cache and flush permalinks. Here’s how to go about it:

    In your WordPress admin area, navigate to Settings > Permalinks, and hit the “Save Changes” button once, even if you didn’t make any changes on the page. This should fix the issue.

    If the issue persists you may consider creating a custom sitemap as it appears Unbounce is not registering their CPT on WordPress in a standard process, see the following guide on how to go about it: https://rankmath.com/kb/custom-sitemaps/

    Let us know how that goes and please don’t hesitate to let us know if you need further assistance.

    Thanks.

    Hi there,

    Thank you for reaching out to us and sorry for the trouble you are facing. We are here to help you with your issue.

    We understand that you are using Unbounce, a landing page builder that integrates with WordPress through a plugin, and you want to include your Unbounce pages in your sitemap.

    We are following up on our previous reply with more information as the solution to this would depend on how your Unbounce pages are imported into WordPress:

    • If your Unbounce pages are imported as regular WordPress pages and they appear in WordPress > Pages > All pages along with your other pages, then they should be automatically added to your sitemap by Rank Math.
    • If your Unbounce pages are imported as a custom post type, such as ‘Landing Pages’, then you can go to Rank Math > Sitemap Settings > ‘Landing Pages’ and enable the Include in Sitemap option. This will create a separate sitemap for your landing pages and include it in your main sitemap index.
    • If your Unbounce pages are external to WordPress and they are not stored in your WordPress database, then you can use a filter to manually add the extra URLs to your sitemap. From looking at your page source code, this seems to be the case. You can use this filter. Here’s an example of how to use it:
      
      /**
       Filter to add extra URLs to the XML sitemap by type.
       *
       Only runs for the first page, not on all.
       *
       @param string $content String content to add, defaults to empty.
       */
      add_action( 'rank_math/sitemap/page_content', function() {
      return '<url>
      <loc>https://loopsrl.agency/multiplier/</loc>
      <lastmod>2023-08-08T20:20:20+00:00</lastmod>
      </url>';
      });
      

      This code will add the URL https://loopsrl.agency/multiplier/ to your page-sitemap. You can add more URLs by repeating the <url> tag with different <loc> values.

    • Another option is to create a custom sitemap for your Unbounce pages and then include it with the rest of your sitemaps generated by Rank Math. You can review this guide for more info on that.

    We hope this helps you solve your issue. If you have any other questions or concerns, please feel free to contact us again. We are always happy to assist you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Sitemap doesn’t include Unbounce landing pages’ is closed to new replies.