• Resolved Anonymous User 16833488

    (@anonymized-16833488)


    Sometimes the sitemap does not appear anything other than the home page, I do not know why this happens, I already tested other plugins and there was no problem.
    I also tested on localhost and the same problem happened.

    See in this photo, there are four Learndash courses.
    http://prntscr.com/nzzb75

    But in the sitemap nothing appears, just my website address.
    http://prntscr.com/nzzd89

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi, could you make a screenshot from your sitemap index /sitemap.xml ?

    Thread Starter Anonymous User 16833488

    (@anonymized-16833488)

    OK so the post type seems to be using the slug sfwd-courses? Are those courses publicly accessible?

    Thread Starter Anonymous User 16833488

    (@anonymized-16833488)

    yes they are, you can access them on my site, the link is in the sitemap photo.

    I wonder if the problem comes from the fact that you seem to have corsos as base URL while the slug seems to be sfwd-courses

    Could you set (very briefly) the base URL to sfwd-courses and quickly check the related sitemap? Then set back to corsos of course.

    Thread Starter Anonymous User 16833488

    (@anonymized-16833488)

    Hi, I just tested this, it did not work.
    I also tested with several other learndash post types and everyone has the same error, only the my website address is displayed

    Very strange… It sounds to me that Leardash does something unexpected when creating its custom post types. Is there any possibility to contact the Learndash developers about this issue?

    Thread Starter Anonymous User 16833488

    (@anonymized-16833488)

    I already contacted them, they advised me to use another plugin, because according to them, the bug is in their plugin, since it works in all others.

    Is there any possibility I could see the Learndash plugin and test it on my development environment? You can contact me directly via https://status301.net/contact-en/

    Hi again, I did some testing and found that by default neither courses nor lessons would appear in normal feeds either, even though the post types are public. They appear to be filtered out somehow. And because my sitemap plugin actually creates feeds, this explains why they are empty.

    Browsing around in the plugin settings, I noticed that it IS possible to make them available for feeds. Go to each post type overview page (list view) on the admin side, then go to the Settings tab. There is an option called “RSS/Atom Feed” which needs to be switched ON.

    The post types will now be allowed in feeds and so publications will appear in their respective sitemaps.

    Hope that helps πŸ™‚

    Thread Starter Anonymous User 16833488

    (@anonymized-16833488)

    Working now xD

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

The topic ‘Only homepage appears’ is closed to new replies.