Skip to content

Auto sitemap is broken for subdomains #17

@pageer

Description

@pageer

Some of the changes to the localpath-to-uri logic appear to have broken subdomains. When using the "Automatically list all blogs in sitemap" setting for the SiteMap plugin, all of the blogs that are on their own subdomain just use the current domain as their URL, rather than the correct blog subdomain.

The fix for this is probably to just do away with that function - take all the brains our of it and just make the URL a configuration setting. Maybe make the blog creation do a best-guess at the appropriate URL, but save that as a config and allow it to be manually over-ridden, then just make the config authoritative. There are just too many possibilities and too many cases that the logic gets wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions