Last active
April 3, 2023 22:10
-
-
Save scottbuscemi/b051ad6510ef8494aff80d0f43afeeb2 to your computer and use it in GitHub Desktop.
pantheon-wpms-subdomain-map.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
api_version: 1 # Currently only one api version. | |
# file should be placed in the /private folder | |
# "domain_maps" is a collection of blog URLs for each environment used to | |
# facilitate search-replace of a WordPress Multisite (WPMS) across pantheon | |
# environments. Each key of "domain_maps" must be a valid environment name. | |
domain_maps: | |
# environment: <collection of domains to be used on this environment> | |
# i.e. dev, test, live, feat-branch, &c. | |
dev: | |
# each environment collection maps the blog ID to its URL. A url must be | |
# set in both the target and source environments for search-replace to be | |
# run. | |
# i.e. 2: blog1-mysite.com | |
1: dev-srtest.pantheonsite.io | |
2: about.dev-srtest.pantheonsite.io | |
3: employee-resources.dev-srtest.pantheonsite.io | |
4: staff-portal.dev-srtest.pantheonsite.io | |
5: customers.dev-srtest.pantheonsite.io | |
6: hr-department.dev-srtest.pantheonsite.io | |
test: | |
1: test-srtest.pantheonsite.io | |
2: about.test-srtest.pantheonsite.io | |
3: employee-resources.test-srtest.pantheonsite.io | |
live: | |
1: searchreplacetest.com | |
2: about.searchreplacetest.com | |
3: employee-resources.searchreplacetest.com | |
4: staff-portal.searchreplacetest.com | |
5: customers.searchreplacetest.com | |
6: hr-department.searchreplacetest.com | |
multidev1: | |
1: multidev1-srtest.pantheonsite.io | |
2: about.multidev1-srtest.pantheonsite.io | |
5: customers.multidev1-srtest.pantheonsite.io | |
6: hr-department.multidev1-srtest.pantheonsite.io | |
# Anything else in the file will be ignored, but not rejected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment