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.

We've moved the forum!

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.

Installing SilverStripe /

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

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

Need my placeholder to stay put....


Go to End


3 Posts   2242 Views

Avatar
sleestak

Community Member, 4 Posts

4 March 2009 at 6:44pm

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.

Avatar
Sam

Administrator, 690 Posts

4 March 2009 at 7:26pm

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]

Avatar
sleestak

Community Member, 4 Posts

7 March 2009 at 10:41am

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