strange issue with redirect and URL Rewrite
I'm experiencing some URL rewrite unexpected behavior and i am sure i am missing something. Hopefully i can convey this good enough.
I have an existing Wordpress site fully updated running NginX and php 8.1 on WHM/Cpanel
The original Sites URL was changed in the modify account area from abc.com to xyz.com. The site resolves and works as intended and Cpanel rewrote all the correct permalinks in the WordPress site. xyz.com is now the primary domain. Success!
I then put abc.com as an addon domain in Cpanel.
I then used the Cpanel redirect interface.
Type 301
abc.com
/
redirects to www.abc.com or the URL in the address bar is not rewritten and still shows the original abc.com.
My expectation would be if I type in https://abc.com/yard-management-101/ it would redirect me to https://xyz.com/yard-management-101/
Can anyone tell me what I am missing here?
-
I'm glad you were able to find that solution!! 0
Please sign in to leave a comment.
Comments
2 comments