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...
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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...
Both URLs redirect to home. So you can simply omit the 'home' part...
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 :)
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.
I did this
# change from this:
RewriteBase /silverstripe-v2.3.3
# to this:
RewriteBase /
But now i can't access my admin
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.
My whole site has stuffed up now, my whole site is out of order, i need help!!!