Can I access base_url in a node?

Created on 1 April 2018, over 7 years ago
Updated 21 July 2025, 13 days ago

I'd love to use base_url in my node href URLs. For exampleto replace http://localhost/stelnews in
<p><img alt="Stelogo2-424x145.png" height="145" src="http://localhost/stelnews/sites/default/files/Stelogo2-424x145.png" width="424" /></p>
Is this possible?

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States tjtj

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024