Ready to get started?Download WordPress


Google XML Sitemaps
[resolved] Sitemap is listing relative URLs instead of full URLs (3 posts)

  1. ianorm
    Posted 9 months ago #

    Generated a sitemap for my URL but the pages and posts are listed as relative URLs (ie /post-name/ instead of http://domain.com/post-name/).

    I checked the site configuration and it has correct site/home URLs and no trailing slash. When you look at each individual page or post itself the meta tags only display the relative URL. Site configuration is in wp-config.php

    Any idea what could be causing this?


  2. kadesmith
    Posted 3 months ago #

    Did you ever find a solution? Seeing the same behavior on my site.

  3. ianorm
    Posted 3 months ago #

    Hi Kade,

    I was able to track back the problem to a plug-in on the site called "Root Relative URLs" that installed automatically during the website build. Once we deactivated the plug-in, the URLs displayed correctly on the individual pages/posts and in the re-built sitemap.

    Hope that helps.


You must log in to post.

About this Plugin

About this Topic