<p>I have also found this slightly confusing from time to time. These settings work well for me:</p>

<p>FYI, on the server the path is: <strong>.../public_html/uploads/services</strong></p>

<p>Hope it helps</p>

<p><a href="https://i.sstatic.net/kNFff.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kNFff.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2016-07-13T11:50:50.613Z
2016-07-13T11:50:50.613Z
Matt P
<p>My Craft blog has the path <code>localhost:8888/blog</code>
The Assets are in the folder assets, so its <code>localhost:8888/blog/assets</code>.
I set the path of an image to <code>/assets</code>, but then it looks for an image at <code>localhost:8888/assets</code>. Is there any way to handle this dynamically, without needing to write blog/ in front of every asset url? </p>

<assets><url>
Correct Asset URL when using folders
# Correct Asset URL when using folders

(Asked by: username_0 on 2016-07-13)

My Craft blog has the path `localhost:8888/blog`
The Assets are in the folder assets, so its `localhost:8888/blog/assets`.
I set the path of an image to `/assets`, but then it looks for an image at `localhost:8888/assets`. Is there any way to handle this dynamically, without needing to write blog/ in front of every asset url?

**Tags:** assets, url

---

## 1 answers

### Answer by username_1 on 2016-07-13. Score: 2 | Accepted answer

I have also found this slightly confusing from time to time. These settings work well for me:

FYI, on the server the path is: **.../public\_html/uploads/services**

Hope it helps

[![enter image description here](https://i.sstatic.net/kNFff.png)](https://i.sstatic.net/kNFff.png)


---

