Requirements
Shifter supports simple one-by-one redirects.
Some examples
A. Redirect to a different website
Source URL https://www.example.com/abc/
Target URL: https://www.example.org/
B. Redirect to a different post or page:
Source URL https://www.example.com/abc/
Target URL https://www.example.com/def/
C. Strip the date from the URL:
Source URL https://www.example.com/2018/01/01/abc/
Target URL https://www.example.com/abc/
It may require changing the permalink structure to “Post name”
Shifter doesn’t support advanced redirection
-
Value without a trailing slash
-
Regular expressions
-
Pattern matches
-
Pass-throughs
-
Random posts
-
Redirect from the root directory to another directory, post or page. ( No single value of
/
is allowed to Source URL) -
404 not found error detections
Some examples
-
redirecting from http://www.example.com/foo to http://www.example.com/bar
-
redirecting from http://www.example.com/fo.*/ to http://www.example.com/bar/
-
Redirect from
/ab.?/
directory to/def/
directory. -
Redirecting users based on their browser. Such as
User Angent
using Safari being redirected from http://www.example.com/foo/ to http://www.example.com/bar/
Notes
All redirects are converted to meta http-equiv="Refresh"
so no HTTP 301/302 responses will be returned to the browsers.