WordPress site URL domain naming with AWS Route 53
-
I am hosting my WordPress website on AWS’s Elastic Beanstalk and am using AWS’s Route 53 to map my domains to my EBS instance. After setting up alias’s for my domains that link to my EBS instance and waiting for propagation the domains successfully redirect to my website.
HOWEVER, the domain name in the URL doesn’t change and is still my ugly Elastic Beanstalk URL. After contacting support, they said my domains were set up properly and that Route 53 wasn’t the root of my problem. Also, that there is an APACHE 301 permanent redirect somewhere that is most likely the cause of this.
I never set up the redirect. After further investigation I can only assume that the issue resides somewhere within my WordPress configuration files. As of right now both my WordPress Address and Site Address found in Admin>settings>general are set to my EBS URL (because that is where my core files are located). After trying to change “Site Address” to one of my domains, I get an error from my caching plugin – WP Rocket.
“WP Rocket cannot configure itself due to missing writing permissions.” (in .htaccess)
So I changed it back. Oddly enough, when typing my URL using one of my domains to a specific page i.e https://www.mysite.com/my-account/ the domain stays! So my problem is my homepage URL doesn’t change from my EBS URL and I don’t know what to do to fix this.
This is driving me bonkers, WordPress geniuses please help!
- The topic ‘WordPress site URL domain naming with AWS Route 53’ is closed to new replies.