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

/SilverStripe-v2.3.3


Go to End


9 Posts   2242 Views

Avatar
Nickt

Community Member, 43 Posts

22 September 2009 at 7:41pm

When i make a page, e.g 'Home' it would be on my site as 'www.mysite.com/silverstripe-v2.3.3/home' how do i change this? i don't want my visitors to have to type 'silverstripe-v2.3.3'.

Please help...

Avatar
bummzack

Community Member, 904 Posts

22 September 2009 at 8:05pm

Both URLs redirect to home. So you can simply omit the 'home' part...

Avatar
Howard

Community Member, 215 Posts

22 September 2009 at 8:28pm

It sounds as though you have all your silverstripe files (i.e. cms, sapphire, mysite etc.) in a folder "silverstripe-v2.3.3" in your webroot folder. If this is the case you should move all the files inside that silverstripe folder into the webroot folder leaving your silverstrip-v2.3.3 folder empty then you can just delete it.

Let me know if this helps :)

Avatar
bummzack

Community Member, 904 Posts

22 September 2009 at 9:13pm

Hm, apparently I misread the OP. It's probably best you do as howardgrigg suggested, in addition, change the following line in your .htaccess (after copying it to the web-root).

# change from this:
RewriteBase /silverstripe-v2.3.3
# to this:
RewriteBase /

Without that change, your site won't work as expected.

Avatar
Nickt

Community Member, 43 Posts

23 September 2009 at 4:34pm

I did this

# change from this:
RewriteBase /silverstripe-v2.3.3
# to this:
RewriteBase /

But now i can't access my admin

Avatar
bummzack

Community Member, 904 Posts

23 September 2009 at 7:02pm

So, the rest of the site works?
What happens if you access 'www.mysite.com/admin' ? What do you get? A 404 error?

You should probably also remove base.js, cmsmain.js and leftandmain.js from the assets folder and run:
'www.mysite.com/dev/build?flush=all'

When doing so, the template cache will be flushed and the js file should be generated.

Avatar
Nickt

Community Member, 43 Posts

23 September 2009 at 7:07pm

My whole site has stuffed up now, my whole site is out of order, i need help!!!

Avatar
Nickt

Community Member, 43 Posts

23 September 2009 at 7:10pm

Edited: 23/09/2009 7:45pm

Go to Top