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.

Installing SilverStripe /

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

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

Need my placeholder to stay put....


Reply


3 Posts   1548 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, 685 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.