Problem/Motivation

I'm trying to go with 1 redirect rule for all node types but when I redirect to the front page, which also doesn't have a translation a redirect loop occurs.

Steps to reproduce

1. Configure the default redirect rule to redirect to the front page and have it act on "Translatable entities"
2. Navigate to /nl/foo which isn't an existing translation
3. Redirects to ie. /nl but also redirects

Proposed resolution

Make it possible to mark a node for exclusion, ie. the front page

Remaining tasks

Review the change & test the patch

User interface changes

Added a settings form for path exclusion

API changes

N/A

Data model changes

N/A

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

baikho created an issue. See original summary.

baikho’s picture

Status: Active » Needs review
StatusFileSize
new7.84 KB
baikho’s picture

Issue summary: View changes
baikho’s picture

Issue summary: View changes
walkingdexter’s picture

Status: Needs review » Needs work

@baikho thanks for the issue!

I like the idea, but not the implementation. This should be implemented similar to the Metatag module (per-entity overrides).