redirection icon indicating copy to clipboard operation
redirection copied to clipboard

Redirections duplicates the URI in the Location header

Open bpfh opened this issue 2 years ago • 1 comments

Summary

Thanks for a wonderful plugin!

When creating a redirect for an entire site using a regular expression, Redirection duplicates the URI in the Location header (see screenshot).

Actual Behavior

The location header contains:

location: https://example.net/foobar/https://example.net/foobar/

Steps to reproduce

Create a redirect rule as per the screenshot.

Environment

WordPress 5.9.3 Redirection 5.2.3

Screenshot 2022-05-13 at 12 49 16

bpfh avatar May 13 '22 09:05 bpfh

Your source URL should be ^.*, as suggested in the warning, or even better ^/.*

johngodley avatar Jul 01 '22 12:07 johngodley