Jump to:

4951 Posts in 14058 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Need my placeholder to stay put....

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1453 Views
  • sleestak
    Avatar
    Community Member
    4 Posts

    Need my placeholder to stay put.... Link to this post

    Hi there! I have decided to take a stab at putting together a site using SilverStripe and would like to keep a placeholder page in tact. Right now I have one page (index.htm) in the root of the sites directory, but when I toss in the files for SilverStripe I loose that placeholder and it hasn't even been installed yet!

    I have renamed the index file for silverstripe to index_ss.html and kept my placeholder as index.htm and still no dice. Any suggestions would be most helpful.

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Need my placeholder to stay put.... Link to this post

    You'll need to add a rewrite rule to the .htaccess file; something like this, just after the RewriteEngine on line.

    RewriteRule ^$ index.htm [L]

  • sleestak
    Avatar
    Community Member
    4 Posts

    Re: Need my placeholder to stay put.... Link to this post

    Thanks Sam! I found another thread on here pertaining to the same thing. (doh) This is most helpful.

    1453 Views
Page: 1
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.