@@ -118,9 +118,21 @@ How other services implement redirects
118
118
- Match by country/language and cookies
119
119
- Per-domain and protocol redirects
120
120
- In case of multiple matches, the topmost redirect will be used.
121
+ - Rewrites, serve a different file without redirecting.
121
122
122
123
https://docs.netlify.com/routing/redirects/
123
124
125
+ - GitLab pages supports the same syntax as Netlify,
126
+ and supports a subset of their features:
127
+
128
+ - ``_redirects `` config file
129
+ - Status codes
130
+ - Rewrites
131
+ - Wildcards (splats)
132
+ - Placeholders
133
+
134
+ https://docs.gitlab.com/ee/user/project/pages/redirects.html
135
+
124
136
Improvements
125
137
------------
126
138
@@ -214,6 +226,13 @@ Improving page redirects
214
226
but it will be useful to simplify the explanation of the feature
215
227
(one less restriction to explain).
216
228
229
+ Example:
230
+
231
+ From:
232
+ ``/security/ ``
233
+ To:
234
+ ``https://example.com/security/ ``
235
+
217
236
- Allow a wildcard at the end of the from path.
218
237
This will allow users to migrate a whole directory to a new path
219
238
without having to create an exact redirect for each version.
@@ -222,6 +241,13 @@ Improving page redirects
222
241
This means that that page redirects are the same as exact redirects,
223
242
with the only difference that they apply to all versions.
224
243
244
+ Example:
245
+
246
+ From:
247
+ ``/old/path/$rest ``
248
+ To:
249
+ ``/new/path/$rest ``
250
+
225
251
Improving Sphinx redirects
226
252
~~~~~~~~~~~~~~~~~~~~~~~~~~
227
253
0 commit comments