unfetchable URL Images 403 forbidden

Hi all,

    I am facing this problem for few months any URL images from profile image to blog_tools image anything that goes in to serve-file url i am getting a 403 forbidden error i don't know why i am getting this error.. bcz of this any blog image or profile, group image is not getting rendered in social network site.. 

  • We use:

    $thumb = $entity->getIcon('large');
    $image = elgg_get_inline_url($thumb);
  • @RvR Thanks for your support but metatag is a different problem what i am facing is totally different it's a 403 error on images.. I have got an error report from chrome..

    Now i see the URL is getting changed https://www.example.com to https://example.com ... It might be the problem how should i fix this ...

    ------------------------------------------------------------------------------------------------------------------------------------------

    Element.createShadowRoot is deprecated and will be removed in M80, around February 2020. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.
    (anonymous) @ content.min.js:2
    medium.jpg:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
    medium.jpg:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
    medium.jpg:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
    medium.jpg:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
    World is not the End:1 Access to manifest at 'https://www.example.com/manifest.json' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
    manifest.json:1 Failed to load resource: net::ERR_FAILED

  • I fixed the above 403 error but still the problem is not getting solved as i deactivated all the third party plugin only the core plugins where active & i still had the error it was not only the Blog_tools but group was also having the same problem.. The Elgg need to get some improvement in handling cache images that's what i feel.. There is no error or nothing is getting recorded other than a 403 error... I am trying to search the most but i end up with wordpress discussion while i don't find elgg discussion or any workaround in elgg to get this thing fixed other than deactivate third party plugin while i tried that almost three times .. After deactivating it i even tried to flush cache, upgrade & tried i am still getting the same error.. I tried even deleting the blog, group & blog_tools & uploaded it fresh but it's just like that.. I just need steps to get this thing work as the blog image & group image are not cached by Search engines nor it's getting displayed in Social network when shared ..    

Performance and Scalability

Performance and Scalability

If you've got a need for speed, this group is for you.