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

/SilverStripe-v2.3.3


Go to End
Reply

9 Posts   1273 Views

Avatar
Nickt

22 September 2009 at 7:41pm Community Member, 43 Posts

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
banal

22 September 2009 at 8:05pm Community Member, 901 Posts

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

Avatar
Howard

22 September 2009 at 8:28pm Community Member, 215 Posts

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
banal

22 September 2009 at 9:13pm Community Member, 901 Posts

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

23 September 2009 at 4:34pm Community Member, 43 Posts

I did this

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

But now i can't access my admin

Avatar
banal

23 September 2009 at 7:02pm Community Member, 901 Posts

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

23 September 2009 at 7:07pm Community Member, 43 Posts

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

Avatar
Nickt

23 September 2009 at 7:10pm (Last edited: 23 September 2009 7:45pm), Community Member, 43 Posts

Go to Top