To follow up with all the information mentioned before, I would like to notice that specifying subdirectory or a file in a subdirectory in .scpages
does not seem to find <link>
assets, such as .css
and .js
files.
For example:
root/index.html
root/assets/js/script.js
root/assets/css/style.css
root/subdirectory/subdirectory/page.html
The page.html
is not receiving any styling when viewed via ?=scpage
and specified in .scpages
. The paths are written correctly because I do not have any problems accessing the page.html
when I quit Sitecake. The <link>
path looks like this:
<link rel="stylesheet" href="../../assets/css/style.css">
I am running latest Sitecake 2.4.4 on Apache.
Should I change something in the Sitecake configuration in order to solve my problem?