# Publish a site with the full URL for stylesheets and js etc.?

**URL:** <https://forums.realmacsoftware.com/t/publish-a-site-with-the-full-url-for-stylesheets-and-js-etc/46008>\
**Category:** RapidWeaver Classic\
**Created:** [January 21, 2025, 8:37am UTC](https://forums.realmacsoftware.com/t/publish-a-site-with-the-full-url-for-stylesheets-and-js-etc/46008 "2025-01-21T08:37:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TemplateRepo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/templaterepo/32/17547_2.png) [@TemplateRepo](https://forums.realmacsoftware.com/u/TemplateRepo)\
**Post date:** [January 21, 2025, 8:37am UTC](https://forums.realmacsoftware.com/t/publish-a-site-with-the-full-url-for-stylesheets-and-js-etc/46008/1 "2025-01-21T08:37:59Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [January 21, 2025, 3:44pm UTC](https://forums.realmacsoftware.com/t/publish-a-site-with-the-full-url-for-stylesheets-and-js-etc/46008/2 "2025-01-21T15:44:17Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![TemplateRepo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/templaterepo/32/17547_2.png) [@TemplateRepo](https://forums.realmacsoftware.com/u/TemplateRepo)\
**Post date:** [January 21, 2025, 3:55pm UTC](https://forums.realmacsoftware.com/t/publish-a-site-with-the-full-url-for-stylesheets-and-js-etc/46008/3 "2025-01-21T15:55:52Z")

</div>

Hi dan, thanks for that. I thought that would do it, but it only changes part of the paths.

 ![Screenshot 2025-01-21 at 16.51.43](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/b/f/bf81cc4ba81ea9fdf8e718f630f50c7d80ced8bb.png)

As per the image, is that bit managed by Stacks or the framework?

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [January 21, 2025, 4:08pm UTC](https://forums.realmacsoftware.com/t/publish-a-site-with-the-full-url-for-stylesheets-and-js-etc/46008/4 "2025-01-21T16:08:56Z")

</div>

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,.

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [January 21, 2025, 5:41pm UTC](https://forums.realmacsoftware.com/t/publish-a-site-with-the-full-url-for-stylesheets-and-js-etc/46008/5 "2025-01-21T17:41:40Z")

</div>

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](mailto:support@yourhead.com) with the details.

Hopefully @Isaiah will get this fixed and push out a stacks update.
