Jump to:

22997 Posts in 11853 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » URL site

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: 690 Views
  • bebabeba
    Avatar
    Community Member
    192 Posts

    URL site Link to this post

    Hi!
    I have a problem with my url site. My url is: www.mysite.com and when i enter in admin page I use: www.mysite.com/mysite/admin
    Is possible have www.mysite.com/admin? In what way?
    Help..

  • bebabeba
    Avatar
    Community Member
    192 Posts

    Re: URL site Link to this post

    any idea???

  • Ryan M.
    Avatar
    Community Member
    309 Posts

    Re: URL site Link to this post

    It's weird that your admin area is accessible by mysite/admin. Default silverstripe installations don't do this. Did you change something for this to happen?

    The default behavior of SS is to make the admin area accessible by www.mysite.com/admin

  • bebabeba
    Avatar
    Community Member
    192 Posts

    Re: URL site Link to this post

    I set .htaccess in this way:

    RewriteBase /mysite

    and apache in this way:

    <Directory "D:/_project/mysite_ss">
    Options Indexes FollowSymLinks
    DirectoryIndex index.php
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    Alias /mysite "D:/_project/mysite_ss"

  • Ryan M.
    Avatar
    Community Member
    309 Posts

    Re: URL site Link to this post

    So then use htaccess to redirect mysite/admin to /admin

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