Skip to content

Logo, icons and product images in product pages, dont show in frontend #3671

@jibrandlr

Description

@jibrandlr

Just moved a Magento 2 site from a test hosting domain to my local PC.
Everything is ok except Magento logo and icons (cart, envelope inside the email subscribe form, search icon, etc) dont show on frontend.
On backend there are no problems.

I have already flushed cache, deleted pub/static folders, run setup:static-content:deploy.

Product images in product pages dont load. However, they load ok in catalog pages.

I found that the file var/resource_config.json still points to the test domain url:
{"media_directory":"/chroot/home/test.domain/html/pub/media/","allowed_resources":["css","css_secure","js","theme","favicon","email","wysiwyg","tmp","catalog","custom_options","dhl","captcha"],"update_time":"3600"}

Is it ok to edit this file manually?

(Also attached screenshot warning from browser console)
console

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions