Google XML Sitemap
Anyone on 3.5.1 getting an error on line 11 this is the fix... (1 post)

  1. Luke Watts
    Posted 2 years ago #

    Thanks to AttitudeDesign over on github for this fix. Works perfectly!

    "We have managed to fix this, we have amended the following in google-xml-sitemap.php on line 56:
    $xml .= "\t\t<loc>" . get_permalink( $post->ID ) . "</loc>\n";

    $xml .= "\t\t<loc>" . str_replace('&','&',get_permalink( $post->ID )) . "</loc>\n";

    Hope this helps someone, and I hope this will get added into the plugin soon."

    5 stars for AttitudeDesign...not the author of the plugin who should be checking this more often! However, the plugin (with the above fix) works perfectly!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google XML Sitemap
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.