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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

URL site


Go to End


5 Posts   988 Views

Avatar
bebabeba

Community Member, 193 Posts

22 February 2011 at 8:30am

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

Community Member, 193 Posts

23 February 2011 at 8:40pm

any idea???

Avatar
Ryan M.

Community Member, 309 Posts

23 February 2011 at 9:05pm

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

Community Member, 193 Posts

24 February 2011 at 8:39pm

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.

Community Member, 309 Posts

25 February 2011 at 10:49am

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