Can I redirect an alt domain to the correct one?
-
Hi all, I’m doing some volunteer work for a local non-profit. I’m a web developer but I haven’t done much wordpress work.
I noticed today that their domain was set up incorrectly in wordpress, and I fixed the problem. However the old links still work, and I’d like to do a 301 redirect.
For example, their correct domain is “example.com” but wordpress had the domain set up as “example.com.my.web.host.com”
The site loads just fine regardless of which domain you use. So I’d like to set up wordpress to detect the incorrect domain and 301 everyone to the correct one.
While I’m at it I’d also like to 301 anyone who uses “www.example.com” back to “example.com”
Thanks in advance for any tips!
- The topic ‘Can I redirect an alt domain to the correct one?’ is closed to new replies.