Skip to content

Logo Disappearing on Frontend – Resolved Temporarily After Login

0

We’re experiencing a strange and periodic issue with our website, videomagistrate.com, hosted on AWS. The site logo randomly disappears from the frontend — sometimes displaying a broken image icon or just the alt text. However, once we log in to the backend/admin area of the site, the logo instantly reappears without us making any changes.

This issue has occurred multiple times, and we can't identify a consistent trigger. It seems to be caching or permission related, but we haven’t been able to confirm.

Details: Website: https://videomagistrate.com

Hosting: AWS

Issue: Logo disappears randomly on the frontend

Temporary Fix: Logging into the backend restores the logo display

Frequency: Happens periodically, not tied to any updates or changes that we are aware of

Screenshot: Attached below (shows missing logo on homepage)

Has anyone encountered something similar or have insight into what could be causing this? We’re looking for a more permanent solution and would appreciate any advice or troubleshooting suggestions.

Thanks in advance! Enter image description here

asked a year ago175 views

1 Answer
0

This issue with your logo periodically disappearing on your website hosted on AWS is likely related to one of several common problems with static content delivery:

  1. Image URL Configuration Issues: Your website might be switching between using your domain name and a static IP address for content URLs. When the system reverts to using the IP address instead of the domain name, this can cause images to break due to SSL certificate issues or mixed content problems.

  2. Caching Problems: CloudFront or browser caching might be serving outdated versions of your site that don't include the logo properly.

  3. DNS Configuration: If your DNS settings are not consistently pointing to the correct CloudFront distribution or if you have multiple distributions with the same alternate domain names, this could cause intermittent issues.

  4. WordPress-specific Issues: If you're using WordPress, there might be a plugin or theme function that's periodically changing the URL settings in your database.

The fact that logging into the admin area temporarily fixes the issue suggests that your CMS might be refreshing the image paths or clearing certain caches when you authenticate.

Here are some troubleshooting steps:

  1. Check your website's URL settings to ensure they consistently use your domain name rather than IP addresses.

  2. Review your CloudFront distribution settings to confirm the correct alternate domain names are configured.

  3. If you recently migrated from one CloudFront distribution to another, verify that the alternate domain name is only configured on the new distribution.

  4. Check for any plugins or scheduled tasks that might be modifying your database or image URLs.

  5. Implement a proper invalidation strategy for your CloudFront distribution when you make changes.

  6. Use browser developer tools to inspect the broken image URL when the issue occurs to identify exactly what URL is being used when the logo disappears.

This periodic issue is common with AWS-hosted websites and typically relates to how the content URLs are being generated and cached rather than actual file permissions or missing files.
Sources
The images on my wordpress website hosted on lightsail keep disappearing | AWS re:Post
Static site not displaying updates even if cloudfront distribution url is showing changes | AWS re:Post

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.