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

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

Don't want ~username in URL


Go to End


3 Posts   1242 Views

Avatar
deer421

Community Member, 8 Posts

23 December 2009 at 10:26pm

I recently installed silverstripe at a new hosting service. Since we were not ready to point our existing domain name to the new service I installed it using the temp URL, something like www.newhost.com/~username. Now after we put in all the content and pointed our domain to it, the URLs of the menus/tabs are www.mydomain.com/~username/pagename. Furthermore, the admin page is accessible only through www.mydomain.com/~username/admin/. How can I configure it so that there is no ~username in the URL?

Thanks for your help.

Avatar
AdamJ

Community Member, 145 Posts

23 December 2009 at 11:13pm

deer421, you'll need to edit the .htaccess file, it will have been setup for your temp URL.

Avatar
deer421

Community Member, 8 Posts

24 December 2009 at 12:24am

Thank you Adam. That took care of it.