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
|
# Site-specific legacy url mapping.
#
# The data is imported and used by the blog handler.
# This file can be (1) set manually or (2) created automatically
# by utils/drupal_uploader.
# Place below a "redirects" dictionary with aliases as the key
# (without host uri stem) and the permalink as the value.
#
# For example, if your old page was at http://www.example.com/test/mypage.html
# and the content is now at http://www.mysite.com/content/pages/mine you would
# enter "test/mypage.html" as the key and "/content/pages/mine" as the value.
import config
redirects = {
}
# This list is a set of 2-tuples. The first item is a regex matching paths, the
# second is the single page to redirect all matches to.
#
# For example, if you want to redirect everything under /nothere to /404.html,
# you could create the tuple (r'/nothere/.*$', '/404.html')
regex_redirects = [
]
|