Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images have the wrong URL #33

Closed
uglyeoin opened this issue Mar 15, 2019 · 6 comments
Closed

Images have the wrong URL #33

uglyeoin opened this issue Mar 15, 2019 · 6 comments

Comments

@uglyeoin
Copy link

uglyeoin commented Mar 15, 2019

Images have the wrong URL, they are relative to the page, not the base of the site.

So for example instead of being /images/myLogo.jpg they are being returned as

mywebsite.com/apage/images/myLogo.jpg which is causing them to be 404s.

@WuhuaChen
Copy link
Collaborator

Is it an ESI module? lscache plugin will not change page content, only ESI module may affect the content.

@uglyeoin
Copy link
Author

It is not an ESI module. You can say it will not change content, but disabling the plugin solves the problem, so I think there is something in the plugin that is doing this.

@WuhuaChen
Copy link
Collaborator

if the myLogo.jpg is inside the login module, it should be a ESI problem. because login module was rendered as ESI by default.

@uglyeoin
Copy link
Author

But I have just turned the extension on, I have not set any modules to be ESI modules

@WuhuaChen
Copy link
Collaborator

You can try in LiteSpeed Cache Options panel -> advanced -> Render Login Module as ESI -> disabled , then purge all cache to see if still have this problem. I guess it's caused by ESI, if it's not, please send detail information of your site to wchen@litespeedtech.com , I'll check it with you. Thanks.

@uglyeoin
Copy link
Author

Crap. Just realised this site is on a totally different server! Consider this closed for now, but I believe I have been this error before. I'll reopen it if I find it again. Sorry for wasting your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants