Mobile app version of vmapp.org
Login or Join
Pierce454

: Cannot add to cart, logout, or write to .htaccess after changing site address WordPress I recently just changed my Site Address from the admin panel on my WordPress website. After doing so,

@Pierce454

Posted in: #AmazonAws #Dns #Htaccess #Url #Wordpress

I recently just changed my Site Address from the admin panel on my WordPress website. After doing so, I got an error from my caching plugin WP Rocket saying it couldn't complete configuration because it can't write to .htaccess.

Since then I've notice a few other things going wrong:


Users can't logout. It gives them an error asking if they're sure they want to logout and then just redirects them to the "my account" page still logged in.
I can't write to .htaccess for changing permalinks and neither can WP Rocket
After adding a product to the cart, you are redirected to a wordpress login with my elastic beanstalk domain in the url. However if you go back and go to cart the item was added.
Various font icons aren't loading. This error shows in console:

Access to Font at 'EBS domain filepath' from origin 'New site address' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'New site address' is therefore not allowed access.


My application is hosted on AWS's Elastic Beanstalk and is using Route 53 to map an alias within a hosted zone to the EBS instance. The new domain I used in the WordPress Site Address field is one of the alias's set up in Route 53.

Things I've checked:


file permissions for .htaccess are 755
ownership of files including .htaccess belongs to the WordPress user
In my database, "siteurl" is set to my elastic beanstalk domain and "home" is set to the domain I am using in Site Address under admin>settings>general


What else could be causing these issues?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Pierce454

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme