Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Base url

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 955 Views
  • raamklaza
    Community Member
    182 Posts

    Base url Link to this post


    somewhere is have seen (tutorials) that you can make a header clickable so that it opens the home page.

    I thought it was <% base_url %> but this doesn't work

    <h1><a href="/<% base_url %>">xxx.nl</a></h1>

    What's the right "variable"

  • Willr
    Forum Moderator
    5508 Posts

    Re: Base url Link to this post

    If you want to go to the base just use home/. Links are relative to the base and home/ is always the homepage

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.