Skip to content

Commit f62fd73

Browse files
committed
Update redirect URLs for subdomain consolidation
1 parent ece3a91 commit f62fd73

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ DOTCOM_STAGING_URL="https://mongodbcom-cdn.website.staging.corp.mongodb.com"
1010
DOTCOM_STAGING_BUCKET=docs-mongodb-org-dotcomstg
1111
DOTCOM_PRODUCTION_URL="https://mongodb.com"
1212
DOTCOM_PRODUCTION_BUCKET=docs-mongodb-org-dotcomprd
13-
DOTCOM_PREFIX=docs-qa/php-library
14-
DOTCOM_STGPREFIX=docs-qa/php-library
13+
DOTCOM_PREFIX=docs/php-library
14+
DOTCOM_STGPREFIX=docs/php-library
1515

1616
# Parse our published-branches configuration file to get the name of
1717
# the current "stable" branch. This is weird and dumb, yes.

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
epub_tocdepth = 3
130130
epub_language = 'en'
131131
epub_scheme = 'url'
132-
epub_identifier = 'http://docs.mongodb.com/php-library/'
132+
epub_identifier = 'http://www.mongodb.com/docs/php-library/'
133133
epub_exclude_files = []
134134
epub_pre_files = []
135135
epub_post_files = []

config/redirects

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
define: base https://docs.mongodb.com/php-library
2-
define: prefix php-library
3-
raw: php-library/ -> ${base}/current
1+
define: base https://www.mongodb.com/docs/php-library
2+
define: prefix docs/php-library
3+
raw: ${prefix}/ -> ${base}/current
44
define: version v1.1 v1.2 v1.3 v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 master
55
symlink: upcoming -> master
66
symlink: current -> v1.10

0 commit comments

Comments
 (0)