• Hello,
    Is it possible to include more data in custom URLs?
    I am using the ‘xmlsf_custom_urls’ filter to add custom urls, and when I add more data to the ‘feed-sitemap-custom.php’ file I get to see more data in the sitemap.
    When using the filter, all I needed to add was this code to the XML:

    
    <changefreq><?php echo ( isset($url[2]) ) ? $url[2] : 'weekly'; ?></changefreq>
    <lastmod><?php echo ( isset($url[3]) ) ? $url[3] : ''; ?></lastmod>

    Is it possible to add this to the next version of the plugin?
    Regards,
    Marcel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Marcel, it’s added to the wish list ?? or at least the lastmod parameter because changefreq and priority are ignored by Google nowadays and will be dropped in a future release altogether… lastmod is the only relevant data left these days, which makes sense really.

    I cannot promise anything about when this should be integrated though, so you might want to stick with your customization for now.

    Thread Starter Marcel Pol

    (@mpol)

    Thank you.
    Have a nice Sunday.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add more data to custom urls’ is closed to new replies.