Skip to content

Commit 01096ad

Browse files
authored
Merge pull request #1197 from maxmind/kevin/fix-redirects
Fix cloudflare pages redirect warnings
2 parents 45f5934 + 82cc5f1 commit 01096ad

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

static/_redirects

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
/maxmind-server-ip-addresses.xml /maxmind-server-ip-addresses/index.xml 302
2-
/GeoIP2-Enterprise-CSV_Example.zip /static/GeoIP2-Enterprise-CSV_Example.zip 301
3-
/fips-iso-map.csv /static/csv/fips-iso-map.csv 301
4-
/geoip-test-databases.tar.gz /static/geoip-test-databases.tar.gz 301
5-
/checksum.txt /static/checksum.txt 301
6-
/csv-files/:file /static/csv/:file 301
7-
/static/csv/codes/eu_country_list.csv /static/csv/codes/maxmind/eu_country_list.csv 301
8-
/static/csv/codes/ap_country_list.csv /static/csv/codes/maxmind/ap_country_list.csv 301
9-
/csv-files/:file /static/csv/:file 301
10-
/csv/:files /static/csv/:file 301
11-
/static/pdfs/:files /static/pdf/:file 301
12-
/minfraud-soap-*.wsdl /sattic/wsdl/minfraud-soap-:splat.wsdl 301
13-
/static/maxmind-region-codes.csv https://download.maxmind.com/download/geoip/misc/region_codes.csv 301
14-
1+
# RSS feed
152
# The year needs to be hardcoded. A page for the new year's
163
# release note won't exist until a new .md file is created in the
174
# /content/<product>/release-notes folder for that new year
185
/geoip/release-notes /geoip/release-notes/2024 302
196
/geoip/release-notes/rss.xml /geoip/release-notes/2024/index.xml 302
207
/minfraud/release-notes /minfraud/release-notes/2024 302
218
/minfraud/release-notes/rss.xml /minfraud/release-notes/2024/index.xml 302
9+
10+
# General - without splats or placeholders
11+
# Redirects are more performant when redirects without splats/placeholders are above those with splats/placeholders
12+
/checksum.txt /static/checksum.txt 301
13+
/fips-iso-map.csv /static/csv/fips-iso-map.csv 301
14+
/geoip-test-databases.tar.gz /static/geoip-test-databases.tar.gz 301
15+
/GeoIP2-Enterprise-CSV_Example.zip /static/GeoIP2-Enterprise-CSV_Example.zip 301
16+
/maxmind-server-ip-addresses.xml /maxmind-server-ip-addresses/index.xml 302
17+
/static/csv/codes/ap_country_list.csv /static/csv/codes/maxmind/ap_country_list.csv 301
18+
/static/csv/codes/eu_country_list.csv /static/csv/codes/maxmind/eu_country_list.csv 301
19+
/static/maxmind-region-codes.csv https://download.maxmind.com/download/geoip/misc/region_codes.csv 301
20+
21+
22+
# General - with splats and placeholders
23+
/csv/:files /static/csv/:file 301
24+
/csv-files/:file /static/csv/:file 301
25+
/minfraud-soap-*.wsdl /sattic/wsdl/minfraud-soap-:splat.wsdl 301
26+
/static/pdfs/:files /static/pdf/:file 301

0 commit comments

Comments
 (0)