Forums

[Plugin: Google XML Sitemaps] doesn't take alternate wp-content location into account (2 posts)

  1. wnorris
    Member
    Posted 1 year ago #

    google-sitemap-generator doesn't take into account the fact that the WordPress content directory may not be at 'wp-content' A quick solution for this is to add the following as the very first line of the GetPluginUrl function in sitemap-core.php:

    if (function_exists('plugins_url')) return plugins_url(basename(dirname(__FILE__)));
  2. arnee
    Member
    Posted 11 months ago #

    Thanks wnorris for the hint!

Topic Closed

This topic has been closed to new replies.

About this Topic