Programatically adding URLs to XML sitemap
-
Hi there,
I have a need to add a number of URLs to the AIOSEO generated sitemap for a site I’m working on. These are valid URLs on the site the sitemap is for, however, they are not of a post type, and instead use a custom URL rewriting scheme, developed using add_rewrite rule, and get_query_var. I can generate a list of said URLs, I can supply priority, frequency, and last updated values for each URL, I just can’t figure out how to inject these into the AIOSEO sitemap.
The CSV import option suggested in the docs is not feasible here, as I need it to be dynamic.
Any help that could be provided would be greatly appreciated, thanks!
The topic ‘Programatically adding URLs to XML sitemap’ is closed to new replies.