Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier configuration of automatic redirects #63

Open
loevgaard opened this issue Jan 2, 2021 · 0 comments
Open

Easier configuration of automatic redirects #63

loevgaard opened this issue Jan 2, 2021 · 0 comments

Comments

@loevgaard
Copy link
Member

Right now the automatic redirect feature is maybe too complicated: It involves form extensions and javascript. What if we could just enable it by config like so:

setono_sylius_redirect:
    automatic_redirects:
        - 'sylius.product_translation'
        - 'sylius.taxon_translation'

where sylius.product_translation and sylius.taxon_translation are the resources defined by Sylius.

Of course this would create more redirects than necessary, but if people have implemented the cronjob to remove redirects that aren't accessed, that wouldn't be a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant