Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Wrong assets and files loading when disabling page alias usage #8873

Closed
goransleko opened this issue Apr 15, 2018 · 1 comment
Closed

Wrong assets and files loading when disabling page alias usage #8873

goransleko opened this issue Apr 15, 2018 · 1 comment

Comments

@goransleko
Copy link

Hello, I am using Contao 3.5.3 and I want to change my site to use engine friendly urls. I have enabled Rewrite URLs, disabled Disable page alias usage in Front end configuration settings and created default .htaccess file.

When I load my page with single url parameter (mysite.com/home), everything works fine, as it's loading assets and files from correct location (mysite.com/assets, mysite.com/files). Problem starts when adding second parameter (mysite.com/home/second), then it's loading assets and files from wrong location (mysite.com/home/assets, mysite.com/files/assets).

How should I fix that? I've been trying to set absolute paths for assets and files, but don't know really where to set it? Or should I set it in .htaccess?

@xchs
Copy link
Contributor

xchs commented Apr 15, 2018

These kinds of questions should be posted on the community forum.

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

No branches or pull requests

3 participants