Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By drupol on
Hi,
I am trying to link back to home page without entering full url or node id. Instead, I am trying to link back using below. None worked.
<a href="front">Homes 4 U</a>
<a href="<front>"> Homes 4 U</a>
<a href="home"> Homes 4 U</a>
Please advise.
Comments
<a href="/"> Homes 4 U</a>
<a href="/"> Homes 4 U</a>
Using l function
You can do it by using built in
l()
function--
Yogesh Kushwaha