How do I change the url of an active Pagely site to a new site url?
Last Updated -
Switching aliases on an existing site
You'll first need to point the new domain name to Pagely. (How do I point traffic to Pagely? DNS / CNAME)
Login to atomic-beta.pagely.com. go to Apps, select the "settings" gear icon, scroll down and click "add domain."Click on the Mark Primary button to promote the alias.
This action will trigger a URL update and update at the CDN end point so it's important this is done.
If you have access to an ssh user, you may want to ensure that all aliases properly updated. Sometimes caching might have to be cleared, or redirect rules modified. As we will mention below... if you'd like to find/replace URLs on the site, you can use the following plugin: https://wordpress.org/plugins/better-search-replace/
Switching aliases between two apps
- Change example-site.com to something like old.example-site.com
- Remove the aliases from the newly renamed old.example-site.com
- You need to be sure you add the production domain's aliases so you'll want to add the aliases (example-site.com, www.example-site.com) to the staging/devlopment app.
- Change the primary domain to example-site.com