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   1363 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
banal

Community Member, 901 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
banal

Community Member, 901 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
banal

Community Member, 901 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