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

Don't want ~username in URL


Reply


3 Posts   714 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.