Jump to:

22997 Posts in 11620 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » /SilverStripe-v2.3.3

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

Page: 1 2
Go to End
Author Topic: 1167 Views
  • Nickt
    Avatar
    Community Member
    43 Posts

    /SilverStripe-v2.3.3 Link to this post

    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...

  • banal
    Avatar
    Community Member
    901 Posts

    Re: /SilverStripe-v2.3.3 Link to this post

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

  • Howard
    Avatar
    Community Member
    215 Posts

    Re: /SilverStripe-v2.3.3 Link to this post

    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

  • banal
    Avatar
    Community Member
    901 Posts

    Re: /SilverStripe-v2.3.3 Link to this post

    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.

  • Nickt
    Avatar
    Community Member
    43 Posts

    Re: /SilverStripe-v2.3.3 Link to this post

    I did this

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

    But now i can't access my admin

  • banal
    Avatar
    Community Member
    901 Posts

    Re: /SilverStripe-v2.3.3 Link to this post

    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.

  • Nickt
    Avatar
    Community Member
    43 Posts

    Re: /SilverStripe-v2.3.3 Link to this post

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

  • Nickt
    Avatar
    Community Member
    43 Posts

    Re: /SilverStripe-v2.3.3 Link to this post

    1167 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.