Page parameter always preserved

Created on 24 November 2012, over 12 years ago
Updated 20 May 2025, about 5 hours ago

When you create a redirect from a page with page URL parameter, this parameter gets appended to the new URL, although you didn' specify it. E. g.

From URL: www.example.com/category/one?page=21

To URL: www.example.com/category/newcategory

Results with the redirect that points to:

To URL: www.example.com/category/newcategory?page=21

This is a big problem due to three reasons:

1. Sometimes you want to redirect to a page that doesn't have pagination at all

2. You can change the number of articles on a category page and you won't have that many pages anymore, which makes the page that you are redirected to useless

3. This is a big SEO problem - if you don't utilize canonical, Google could see this as double content (if it's used for articles especially!)

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

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