[Bugs] [Bug 1490993] Redirect fun with lists

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 12 17:41:09 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1490993



--- Comment #4 from Karsten Wade <kwade at redhat.com> ---
The WPEngine how to recommends this pattern:

Name: Redirect catch all
Domain: www.domain.com
Source: ^/thisiswhere/myfileswere/(.+)
Destination: /thisiswhere/myfilesmovedto/$1
Redirect type: 301 Permanent

Our UI is a bit different (ref attached PNG), we need to fill out:

Source URL:
Regex [./]
Title:
Match: [URL only]   <== anything else interesting under that menu?
When matched: [Redirect to URL] w/ 301    <== seems like a good choice
Target URL:
Group: [Modified Posts]   <== anything else interesting under that menu?
Position: Bottom might be safest so we're not overwriting WP rules

So I think "Source URL" would be a regex of:

.*gluster.org/pipermail(.+)

Target URL:

lists.gluster.org/pipermail/$1

This should grab whatever follows /pipermail/ at any subdomain (or no subdomain
so plain gluster.org/pipermail/) and redirect that follow stuff to
lists.gluster.org/pipermail/.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list