Skip to content

LangRouter/Babel compatibility #66

Open
@zaigham

Description

@zaigham

Currently Redirector doesn't really work with LangRouter, and possibly Babel/MultiContext installations.

eg, ru/old-url -> ru/new-url doesnt work.

Although it saves the information correctly when saving the document. But when it gives back the "target", it is without the "cultureKey" eg. site.com/new-url hence it fails.

Ref:
Jako/LangRouter#5

$target = $redirect->get('target');
$modx->parser->processElementTags('', $target, true, true);

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