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..
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
any idea???
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
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"
So then use htaccess to redirect mysite/admin to /admin