Passer au contenu

My website is loading some images from ip instead of domain - AWS Lightsail

0

Some images are being displayed with the static IP address 50.17.114.230 and are appearing corrupted. Please help remove the IP reference completely, so all images and content are loaded using the correct domain URL instead. It is very urgent, kindly help me out

demandé il y a 2 ans533 vues

5 réponses
0

Have you specified your domain in the General settings? You must explicitly configure the "WordPress Address (URL)" https://wordpress.org/documentation/article/settings-general-screen/ for your domain to apply to your media assets.

By default, you can point a DNS record to the server and see your site in the URL, but you need to explicitly configure it for your domain to apply everywhere.

AWS
MODÉRATEUR

répondu il y a 2 ans

  • General settings are properly updated too. But still the static IP is regenerating issue and corrupt

0

General settings are properly updated too. But still the static IP is regenerating issue and corrupt images.

répondu il y a 2 ans

0

General settings are properly updated too. But still the static IP is regenerating issue and corrupt

répondu il y a 2 ans

0

Once we set up the Cert through the LightSail console, we should not have to do anything. There is an issue with Wordpress on LightSail that is documented here on Rededit. We should be able to use Elementor without issue.

https://www.reddit.com/r/elementor/comments/1fybd5s/sites_are_serving_some_images_with_ip_address/

répondu il y a un an

-1

Hello.

AWS re:Post is a community forum site, so we can give you advice, but you must make your own corrections.
If you are using Wordpress, please make sure that your Site URL or WordPress address has been correctly changed to your domain.

I did a little research and found that there is a plugin for rewriting URLs, so please consider using that.
https://wordpress.org/plugins/better-search-replace/

EXPERT

répondu il y a 2 ans

EXPERT

vérifié il y a 2 ans

  • The same issue is occurring on all my websites hosted on Lightsail with WordPress. Despite using the methods mentioned (Better Search Replace plugin, Elementor's Find and Replace tool, downloading and manually updating the database, and adding redirection rules in .htaccess), the images eventually show as missing. When checking the database, I found that the static IP (50.17.114.230) keeps reappearing in the post_meta table, causing the issue to persist. Kindly help me to fix as it is really very important.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.