8000 rewrite with query string carry over · Issue #43 · terminal42/contao-url-rewrite · GitHub
[go: up one dir, main page]

Skip to content
rewrite with query string carry over #43
@IIM-Andreas

Description

@IIM-Andreas

Hi,

maybe I doing it wrong or there's a Bug.
I'm using COntao 4.13.

I wanna do a rewrite like this
domain.tld/news/123?bli=1&bla=2 → domain.tld/news-reader/456?bli=1&bla=2

My settings:

Type: basic
Hosts restriction: domain.tld
Path restriction: /news/123{wildcard}
Requirements: [wildcard => .*]
Response code: 301 Moved Permanently
Response redirect URL: https://domain.tld/news-reader/456{wildcard}

Result:
The rewrite works but the query strings are gone.
https://domain.tld/news-reader/456

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0