I want to design a go back home button for my site and how can I get the root path of my site in the template so I can do something like this:
You should be able to access the get_host() method of the request:
Go back home
Though you could probably also do: