Opened 3 years ago
#55086 new feature request
Different URLs according to environment type with filters to work smoothly in all envs without replacement in the database
Reported by: | oglekler | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Add different URLs (WP_HOME, WP_SITEURL) for different environment types and filter query results (the_content etc) according to env type.
It can allow to build the site using production URLs but filter the content according to the current environment - dev or stage and work with the site without a need to replace URLs while moving from env to env.
This will ease regular deployments and help avoid mistakes when on production some links are still pointing to the dev or stage environment.
Note: See
TracTickets for help on using
tickets.