(?(.+-)?)cxdignet.testmysite.live
where sub-domain is optionalDont replace these?
https://cxdig.net
We're already here
https://blog.cxdig.net
Not located here:
https://a.cxdig.net
https://cxdig.net/wp-admin
https://cxdig.net/wp-admin/
https://www.cxdig.net/wp-admin
https://www.cxdig.net/wp-admin/
This page simply has a header( "Location: https://shop.cxdig.net", true, 301 );
https://www.cxdig.net/shop
https://www.cxdig.net/shop/
But does it work without www?
https://cxdig.net/shop
https://www.cxdig.net/shop/
This page simply has a header( "Location: /secure/login", true, 301 );
https://staging.cxdig.net
https://staging.cxdig.net/