REDIRECTS.md
19 lines · 1282 bytes · executable
1# Search
2* `deviantart.com/search?q=$QUERY` => `/search?q=$QUERY&type=all`
3# Daily Deviations
4* `deviantart.com` => `/dd`
5# Deviations
6* (`$USER_GROUP.deviantart.com/art/$ID`|`deviantart.com/$USER_GROUP/art/$ID`) => `/post/$USER_GROUP/$ID`
7# Groups and users
8## Main user page
9* (`$USER_GROUP.deviantart.com`|`deviantart.com/$USER_GROUP`) => `/group_user?type=about&q=$USER_GROUP`
10## Gallery folder
11Match before the plain gallery rule. `$FOLDER_ID` is numeric; the trailing `$SLUG` is optional and ignored.
12* (`$USER_GROUP.deviantart.com/gallery/$FOLDER_ID[/$SLUG]`|`deviantart.com/$USER_GROUP/gallery/$FOLDER_ID[/$SLUG]`) => `/group_user?type=gallery&q=$USER_GROUP&folder=$FOLDER_ID`
13## Favourites folder
14Match before the plain favourites rule. `$FOLDER_ID` is numeric; the trailing `$SLUG` is optional and ignored.
15* (`$USER_GROUP.deviantart.com/favourites/$FOLDER_ID[/$SLUG]`|`deviantart.com/$USER_GROUP/favourites/$FOLDER_ID[/$SLUG]`) => `/group_user?type=favourites&q=$USER_GROUP&folder=$FOLDER_ID`
16## Gallery
17* (`$USER_GROUP.deviantart.com/gallery`|`deviantart.com/$USER_GROUP/gallery`) => `/group_user?type=gallery&q=$USER_GROUP`
18## Favourites
19* (`$USER_GROUP.deviantart.com/favourites`|`deviantart.com/$USER_GROUP/favourites`) => `/group_user?type=favourites&q=$USER_GROUP`