Switching primary with subdomain maintaining URLs
-
Hi there. Let’s say my primary domain is
zzz.com
and the subdomain yyy.zzz.com is being redirected to yyy.com. Both have WordPress installations.
So what I want to do is simply switch roles: make yyy.com the primary domain, and have zzz.yyy.com redirecting to zzz.com.
I know how to make this change in Cpanel, i just want to know if there’s anything i need to do in wordpress, since the URLs supposedly will stay the same. Would it be enough to simply put the folders (wp-content, wp-admin and wp-includes) in their correct places? So I would create a folder in public_html for zzz.com and put the folders there just like there is now one for yyy.com and put the folders that are currently inside the folder yyy.com in the folder public_html (so that it becomes the primary domain)
Hopefully this wasn’t too confusing, thanks in advance!
- The topic ‘Switching primary with subdomain maintaining URLs’ is closed to new replies.