[ad_1]
I have made a bunch of WordPress sites over the last few years but I recently started my first site with AWS Lightsail. There is definitely a learning curve as they do not hold your hand at all. I have learned a lot about it and managed to get the site working with my domain.
I am using the SEO Framework plugin and have noticed that the sitemap generated by the plugin is using the IP address of the site instead of the domain name. I know this is not a plugin issue but something I need to do with AWS. Any insight would be appreciated! Thank you.
[ad_2]
Have you set the site domain name in wp-config.php?
define(‘WP_SITEURL’, ‘https://example.com/’);
define(‘WP_HOME’, ‘https://example.com/’);
You may also need to run a find/replace to fix anywhere in the DB that still contains the IP address – you can do that with a plugin called Better Search Replace.