Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

URL site


Reply

5 Posts   759 Views

Avatar
bebabeba

22 February 2011 at 8:30am Community Member, 192 Posts

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

Avatar
bebabeba

23 February 2011 at 8:40pm Community Member, 192 Posts

any idea???

Avatar
Ryan M.

23 February 2011 at 9:05pm Community Member, 309 Posts

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

Avatar
bebabeba

24 February 2011 at 8:39pm Community Member, 192 Posts

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"

Avatar
Ryan M.

25 February 2011 at 10:49am Community Member, 309 Posts

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