Yet another too many redirects: WP 5.3.2 on AWS VM
-
Hi,
I have a AWS Ubuntu VM with WordPress 5.3.2 installed, the static IP is 52.73.240.32I registered the domain gopotatomusic.com with Google Domains using this static IP.
I can connect to the web site with https://gopotatomusic.com but after that the URL bar shows the static IP.
In the WordPress settings, “WordPress Address (URL)” and “Site Address (URL)” are both set to the IP address and grayed out.
I see a lot of suggestions about changing WP_SITEURL and WP_HOME the file wp-config.php under htdocs.
I can use putty to login to the VM and view the file — these are the current values for these settings:
define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/'); define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST'] . '/');
If I change to
define('WP_SITEURL', 'https://gopotatomusic.com/'); define('WP_HOME', 'https://gopotatomusic.com/');
The web page immediately stops working with a “too many redirects error” both on Chrome/Windows and Firefox/Centos.
I also see posts that mention the .htaccess file, here are the contents:
# BEGIN WordPress # The directives (lines) between <code>BEGIN WordPress</code> and <code>END WordPress</code> are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
I’ve looked at the logs in opt/bitnami/apache2/logs but don’t see much.
Any help appreciated!
Thanks
GeoffThe page I need help with: [log in to see the link]
- The topic ‘Yet another too many redirects: WP 5.3.2 on AWS VM’ is closed to new replies.