WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Yoast WordPress SEO] Wrong URL in Sitemap, Also Blank (2 posts)

  1. chazbeaner
    Member
    Posted 3 years ago #

    Having an issue with the Yoast WordPress SEO plugin that seems pretty odd... (latest version).

    I set up the plugin on a dev server and when pushing the site live, changed all of the mentions of the dev URL in the database to the live URL. However, when generating the Sitemap, the plugin is pulling the dev site URL from somewhere and applying it to all of the URLs in the Sitemap.

    I can't find a setting to change and the dev URL has 0 results when searching the database. I tried exporting the settings to see if it was in the settings.ini file for the plugin, but nothing.

    Really like this plugin and the ability to manage all SEO related tasks in one place, but having a valid Sitemap is pretty important.

    As an aside, the Sitemap shows as blank, but the XML is visible in the source... looks like for some reason the stylesheet is not being applied.

  2. chazbeaner
    Member
    Posted 3 years ago #

    As a follow up, I scanned through the SQL file for the db and there's no mention of the dev site's URL. The key "wpseodir" is set to the correct absolute server path and yet, the sitemap still contains the dev URL.

Topic Closed

This topic has been closed to new replies.

About this Topic