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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Remove homepage (template)

Go to End

3 Posts   1231 Views


Community Member, 16 Posts

14 October 2009 at 9:41am

hi all,

The CMS website setup has a homepage. I was playing with tutorial 1 and now everytime I do dev/build it creates a new homepage. I have deleted Homepage.php and Is there a entry in the mysql database I need to delete ?

Also how to set my old homepage as the homepage ?


P.S: I posted this in the blog module forum, I am resposting it here.


Forum Moderator, 5523 Posts

14 October 2009 at 1:18pm

Change the page type in the CMS to the standard 'Page' page type. Save and publish then revisit the page with a ?flush=1 and you should be back on the normal template.

SS will create a page with the url 'home' if you haven't got one as it requires a page with the url 'home'.


Community Member, 16 Posts

15 October 2009 at 1:55am

Thanks willr. The home page's page type is already "Page". I referred it as a template as a new homepage was getting created everytime I did ' (mysite)/dev/build?flush=1' and I had renamed the homepage url. Was my mistake doing that instead of '(mysite)?flush=1' ?