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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

silverstripe in domain


Go to End


2 Posts   882 Views

Avatar
Lemonie

Community Member, 70 Posts

4 May 2012 at 6:03am

Hi

Am not sure how to explain this properly so please be gentle.

i have installed SilverStripe in the public_html folder and renamed it 'silverstripe'. When I go to my website, eg contact us, it is showing:

www.homelesshounds.org.uk/silverstripe/contactus/

How can I get rid of the silverstripe bit?

Thanks in advance.

Avatar
novaweb

Community Member, 116 Posts

4 May 2012 at 10:28am

Lemonie,

You need to take everything from inside silverstripe/ and put it all a directory back, in public_html

If you have SSH access, you could login and go

sudo mv /var/www/public_html/silverstripe/* /var/www/public_html/
sudo mv /var/www/public_html/silverstripe/.htaccess /var/www/public_html/

(assuming your webroot is /var/www/public_html)

You will then need to edit your .htaccess file to remove the /silverstripe part of your domain name.

If you are new to all this, may be easier for you to delete everything, and just upload it again in to public_html instead of a folder inside public_html.

Cheers,
Nova