Respect front page configuration

Created on 15 February 2022, almost 3 years ago
Updated 5 September 2024, 2 months ago

Problem/Motivation

When a front page is configured in the site's system settings then the sitemap will either generate a link like e..g node/123 or use the alias for the configured node. However as this page will always redirect to the front page "/" we should rather respect that configuration and exchange the url.

Steps to reproduce

Set a front page and rebuild the sitemap. Check the url for the front page.

Proposed resolution

Check if the url is the same as the front page and if so return the front page route.

Remaining tasks

User interface changes

API changes

Data model changes

โœจ Feature request
Status

Active

Version

4.0

Component

Code

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany hchonov ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฉ๐Ÿ‡ช๐Ÿ‡ง๐Ÿ‡ฌ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024