Skip to content

Allow redirects on the path ignoring parameters.#1

Open
fafaman wants to merge 1 commit intomasterfrom
fafaman-redir-patch-1
Open

Allow redirects on the path ignoring parameters.#1
fafaman wants to merge 1 commit intomasterfrom
fafaman-redir-patch-1

Conversation

@fafaman
Copy link
Copy Markdown
Owner

@fafaman fafaman commented Sep 21, 2015

If a redirect entry contains
old_path: /path/to/page new_path /page/to/redirect_page
and settings.REDIRECT_IGNORE_PARAMETERS is True
Then
/path/to/page?x=1 will be redirected to /path/to/redirect_page?x=1

If a redirect entry contains
old_path: /path/to/page new_path /page/to/redirect_page
and settings.REDIRECT_IGNORE_PARAMETERS is True
Then 
/path/to/page?x=1 will be redirected to /path/to/redirect_page?x=1
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

Successfully merging this pull request may close these issues.

1 participant