跳至內容

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

已提問 2 年前檢視次數 530 次

5 個答案
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
管理員

已回答 2 年前

  • 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.

已回答 2 年前

0

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

已回答 2 年前

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/

已回答 1 年前

-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/

專家

已回答 2 年前

專家

已審閱 2 年前

  • 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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。