When RW and Stacks publishes a site, in the index files, and perhaps elsewhere, it doesn’t reference the full URL to styles sheets etc. but uses relative one. ie…
<link rel="stylesheet" href="../rw_common/plugins/stacks/font-awesome.min.css?rwcache=758984761">
as opposed to…
<link rel="stylesheet" href="https://www.domain-name.com/rw_common/plugins/stacks/font-awesome.min.css?rwcache=758984761">
This is causing a problem with a plugin for me.
Is there a way to force RW/Stacks to use the full path?
dan
(Dan C.)
21 January 2025 15:44
2
Hi @TemplateRepo ,
It’s been a while, welcome back
This is easy to do. Simply, change the “File links are” option to “Relative to Website Address” under Advance.
Here’s a quick video I recorded to show you how to do it:
Let me know if you have any more questions.
Cheers!
Hi dan, thanks for that. I thought that would do it, but it only changes part of the paths.
As per the image, is that bit managed by Stacks or the framework?
dan
(Dan C.)
21 January 2025 16:08
4
Hmm, that is strange. Let me do some digging in the Classic code base to find out what’s going on. I’ll report back shortly,.
1 Like
tpbradley
(Tom Bradley)
21 January 2025 17:41
5
Hi @TemplateRepo ,
I’ve just looked into this and unfortunately those headers are generated by the Stacks plugin.
We’ve sent this thread over to YourHead, but you might also want to email support@yourhead.com with the details.
Hopefully @Isaiah will get this fixed and push out a stacks update.
1 Like