-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_redirects
65 lines (43 loc) · 2.74 KB
/
_redirects
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# All requests prefixed with /api/ should be handled by the API
/api/* EXT_API_URL/:splat 200!
# All requests prefixed with /feed/ should be handled by the API
/feed/* EXT_API_URL/feed/:splat 200!
# We briefly used the non-hyphenated slug for listening parties
/listeningparties/* /listening-parties/:splat 200
# The following redirects cater for slug changes made a considerable time after publishing
/articles/some-spotify-and-the-strange-new-world-of-music-consumption /articles/soma-spotify-and-the-brave-new-world-of-music-consumption 200
/reviews/adventures-of-a-reluctant-superhero-chali-2nakrafty-kuts /reviews/chali-2na-krafty-kuts-adventures-of-a-reluctant-superhero 200
/reviews/review-heaven-upside-down-marilyn-manson /reviews/marilyn-manson-heaven-upside-down 200
/reviews/the-dark-side-of-the-moon /reviews/pink-floyd-the-dark-side-of-the-moon 200
/reviews/demon-days /reviews/gorillaz-demon-days 200
/reviews/price-purple-rain /reviews/prince-purple-rain 200
/reviews/the-life-of-pablo /reviews/kanye-west-the-life-of-pablo 200
# Redirect anything looking for Nuxt assets
/_nuxt/* / 404
# The following redirects correct any links to the old wordpress file structure
/wp-content/uploads/2019/01/Soma-Spotify-main-image.png /articles/soma-spotify-and-the-brave-new-world-of-music-consumption 200
/wp-content/uploads/2017/08/vault-boy-shadow-1024x910.jpg /articles/world-on-fire-the-music-of-fallout-3/ 200
/wp-content/uploads/2016/07/tp-dungeon.jpg EXT_API_URL/images/article-images/hyrules-lament-dungeon-small-original.jpg 200
/wp-content/uploads/2016/07/twilight-realm-1024x755.jpg EXT_API_URL/images/article-images/hyrules-lament-twilight-realm-small-original.jpg 200
/wp-content/uploads/2016/07/hyrulefield.jpg EXT_API_URL/images/article-images/hyrules-lament-forest-small-original.jpg 200
/wp-content/uploads/2016/01/Singles-Culture.jpg EXT_API_URL/images/article-images/beauty-from-circumstance-singles-culture-small-original.jpg 200
/wp-content/uploads/2019/01/Spotify-wrapped.jpg EXT_API_URL/images/article-images/spotify-wrapped-small-original.jpg 200
/wp-content/uploads/2017/01/Homogenic-500x500.jpg EXT_API_URL/images/album-artwork/homogenic-bjork-small-original.jpg 200
# Provide a catch all fallback for any request for wordpress URLs to the homepage
/wp-content/* / 404
/wp-login.php / 404
/wp-admin.php / 404
/wp-admin/* / 404
# Crawlers requesting Well-known URIs (see Wikipedia) that we don't support should just get a 404
/.well-known/* / 404
# The following requests are made by crawlers like Googlebot
/sellers.json / 404
/ads.txt / 404
/app-ads.txt / 404
/dsrdelete.json / 404
/security.txt / 404
/sw.js / 404
/aab9 / 404
/aaa9
# Miscellaneous file requests we regularly see
/us/album/disintegration-deluxe-edition-remastered/371772227 / 404