• Resolved pfsm999

    (@pfsm999)


    Hi,

    I am running some website with YOAST SEO Plugin with W3 Cache.
    I build some wordpress theme with custom post type.
    I try to activate Sitemap XML with all custom post type i made, in admin panel…

    Sorry for the french translation (i’m a french dude).

    Réglages sitemap des types de contenu
    Articles (post)
    – Dans la sitemap
    Pages (page)
    – Dans la sitemap
    Compétences (competence)
    Dans la sitemap

    But i can’t find them in my sitemap XML index (Example : https://paul-fsm.net/sitemap_index.xml)

    https://paul-fsm.net/competence/… (‘competence’ is a custom post type and i made a lot of page with this custom post type)

    Is it a bug ? Or do i must add some code in my function.php ?
    All my custom post type are defined with 'public' => true

    If anyone can help me…
    Have a nice day !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support amboutwe

    (@amboutwe)

    The plugin is generating the sitemap (see the non-pretty permalink URL here).

    Have you cleared your server and site cache? If yes, disable the sitemaps and load the sitemap index until it loads a 404 error. Then enable the sitemaps again. This will force all sitemap cache to reset.

    Thread Starter pfsm999

    (@pfsm999)

    Thanks a lot for your answer but … unfortunately … It does nothing.
    The cache seem to be cleared and i unload the sitemaps functionnality and i had a 404 error.
    I reloaded it and … nothing happen !
    Only 5 entries in my sitemap … and i don’t know why 🙁

    Any other ideas ? Perhaps i do something wrong with my code … but i don’t know where !

    Thanks a lot and have a nice week-end !

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

The topic ‘Sitemap XML on custom post type don’t work’ is closed to new replies.