• Resolved mkeck

    (@mkeck)


    I’ve set a custom sitemap provider wich generates urls from a JSON file providing content.

    The JSON is readed and parsed and generates dynamic a set of pages for example a directory for job postings, events, places or what ever.
    As an example a generate page may have a URL like example.com/places/berlin/alex/ or without permalink structure example.com?pagename=places&places=berlin/alex/.

    For this I’ve written a site WP Sitemap Provider, but it’s not working with TSF.

Viewing 1 replies (of 1 total)
  • Hello,

    I’ve set a custom sitemap provider which generates URLs from a JSON file providing content.

    Feels like you know a thing or two about coding, I think it would be better for you to post a GitHub issue with your custom code and as many details as possible.

    If that is a problem for you, please continue here, otherwise open an issue at https://github.com/sybrew/the-seo-framework/issues

    If you have spare time, please have a peek at https://kb.theseoframework.com/kb/all-you-must-know-about-sitemaps/ where we explain a bit of how sitemaps work with TSF and why they are not always critical.

    Lastly, have a look at https://theseoframework.com/docs/api/filters/#sitemap-related it might be of slight help, albeit if you are using JSON it might require a bit more elbow grease.

    Please note that I am not coding much, you will have to wait for a colleague to receive educated answers, I am just trying to get as much information as possible before he has time to tackle this.

    Thank you for understanding!
    Pierre.

Viewing 1 replies (of 1 total)
  • The topic ‘Add custom WP Sitemap Provider’ is closed to new replies.