query param for redirect

Created on 5 April 2017, about 8 years ago
Updated 20 May 2025, about 4 hours ago

Hello all, I have problem with get param when I create redirects

I create solution, please see and check it

1. example redirect: rss?view=tags => tags
we have rss?view=tags => tags?view=tags why??? I need simple /tags
solution: remove $redirect->redirect_options['query']

2. second problem with Get param
example test/categories/21-test?limit=10&start=10 => test?page=1
wa have test/categories/21-test?limit=10&start=10 => 3%test?pageFpage%3D610 - very bad!
solution: we need create query param $redirect->redirect_options['query']

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡§πŸ‡ΎBelarus mozh92

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

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