Jump to:

23480 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » CMS access change 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: 1002 Views
  • nat.pike
    Avatar
    Community Member
    19 Posts

    CMS access change URL Link to this post

    Hi there,

    I have a problem - I have uploaded a SilverStripe website to my clients hosting at FreeParking.co.nz.

    The problem is when you go to access the CMS with www.website.com/admin it redirects to the admin panel for FreeParking.

    Can I change the settings so the CMS can be accessed by www.website.com/admin/login.php? or something else?

    Thanks for your help.

    Natalie

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: CMS access change URL Link to this post

    Has this on an old webhost, I simply asked them to change their "admin" to allow me to use it

  • nat.pike
    Avatar
    Community Member
    19 Posts

    Re: CMS access change URL Link to this post

    Hi, thanks for your comments - I tried that but the said that when the Server is rebooted it will automatically revert back.

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: CMS access change URL Link to this post

    oh, then I'd find another host...

  • nat.pike
    Avatar
    Community Member
    19 Posts

    Re: CMS access change URL Link to this post

    Unfortunately that is not an option - it's my clients hosting and they've paid for hosting for the next couple of years.

  • Devlin
    Avatar
    Community Member
    215 Posts

    Re: CMS access change URL Link to this post

    You can access the CMS via www.website.com/index.php/admin too.

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: CMS access change URL Link to this post

    Oh, well... in that case...

    I'd say - how often do you reset the server? If it's like my servers months go by - so just request the host to remove the rule afterwards each time...

    If you want to change the code start by searching for "admin", 'admin' and admin (i.e. with different types of quotes and then without qoutes) within the cms. So start by changing...

    e.g.
    cms\code\LeftAndMain.php

       static $url_base = "admin";

    but really this is an AWFUL idea as more than likely something will go wrong and it'll make upgrading (for security and stuff) very annoying - also modules are going to expect "admin" too, so change them... best of luck...

    (oh just seen a rather simpler solution! ha!)

    1002 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.