Setting change image path?




Wordpress LScache Plugin: Setting change image path?

Last Updated on: Wed, 15 Apr 2026 00:00:02
Ive noticed on our site using LiteSpeed that images are being indexed with a path that uses the page the images are on as a parent directory. For example, I have an image that is in the Media Library with this path: https://mysite.com/wp-content/uploads/2019/07/hero-building2@05x.jpg It was inserted into a page such as https://mysite.com/sample-page/. When I look at the Index Coverage report in Googles Search Console, the image is indexed with the following path: https://mysite.com/sample-page/hero-building2@05x.jpg Is there a setting in LiteSpeed Cache that is doing this? Wed like to turn it off. Hi, Could you please provide the report number ? And , if possible , an example page ? you can use this way to hide your site https://false-domain.com/true-URI-to-page Best regards, Report number: REKBTBDC Report date: 08/06/2019 18:30:06 And any page that has an image inserted on it (not the sidebar) then lists that image under the page as a subdirectory https://bit.ly/2TbwHM5 Thanks Hi, I didnt find the sub-direcotry-image thing you mentioned , could you please point me out ? Best regards, Perhaps saying sub-directory is not using the correct verbiage. Those subdirectories do not exist on the server, but something is associating the images on page with whatever page they display on so that the images have a path under that page. Its not physical, but Google is indexing and showing those. For example, if there is a http://www.mysite.com/thisismypage/ that has image1.jpg and image5.jpg on it, then the image files are not indexed with a wp-content/images in their path, but rather are pulled into Googles index/Search Console as http://www.mysite.com/thisismypage/image.jpg and http://www.mysite.com/thisismypage/image5.jpg. When I look at the images with the Media Library it still lists the wp-content/images path for them and thats where they are on the server. Something is regenerating those image paths. We dont want that, and Im trying to figure out what is causing it. Does LiteSpeed Cache change image paths picked up by search engines as part of handling them? Thanks Hi, From what I know , and also by design , LSCWP does not alter any image URL, and it only does it when CDN is enabled , but it only reweites it from https://origin_domain/path/to/file to https://cdn_domain/path/to/file Could you please go to Debug tab , set Disable all features to ON and check if that thing still happens ? Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please try the steps provided by @CacheCrawler and let us know how it goes. Well be happy to reopen the topic if necessary. Thanks!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference