Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Renaming homepage...

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1770 Views
  • henrik
    Avatar
    18 Posts

    Renaming homepage... Link to this post

    Renaming the page from "home" to "something else" in the CMS Main and Meta-data tabs causes the CMS to redirect you to error on logout (after that, you can't visit www.yoursite.com/admin anymore). Which files do I have to edit (and how?) to be able to rename homepage to something different than "Home"?

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Renaming homepage... Link to this post

    Are you wanting to rename the URL or just the title?

    Renaming the URL will be problematic as this is currently fairly hard-coded

    Just changing the page or nav title is fine, but you just have to keep the URL as /home/

  • henrik
    Avatar
    18 Posts

    Re: Renaming homepage... Link to this post

    Well, I don't want to change the URL, so I keep "home" in the Meta-data URL field. But changing Page name and Navigation label in the Main tab is enough to make the CMS redirect to error page on log-out (instead of redirecting to log-in page as it should!). After that, www.mysite.com/admin or www.mysite.com/security/login aren't available anymore and the only way of logging in is to log in through the forum and then acess the CMS by going to www.mysite.com/admin. This thing happens only when changing page title of "home" in BlackCandy, all other pages can be renamed without problems.
    So, I suppose I have to edit some file which will redirect me to log-in page correctly (where, and how?).

    1770 Views
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.