Skip to content

Sitemap-Generation doesn't work if default_host isn't set #3732

@DavidFeller

Description

@DavidFeller
Q A
Bug? yes
New Feature? no
Sulu Version 1.6.12 & 1.6.13

Actual Behavior

The command bin/websiteconsole sulu:website:dump-sitemap doesn't create a sitemap.xml if {host} is used in the portals configuation without the parameter sulu_website.sitemap.default_host in app/config/config.yml.

bildschirmfoto von 2018-02-01 16-07-36

Expected Behavior

An exception should be thrown if the mentioned parameter is missing.

Possible Solutions

Set sulu_website.sitemap.default_host in app/config/config.yml by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions