I manage rip-off SharePoint team site. Some reason, I cannot rename default.aspx. If I rename default.aspx -> demo.aspx and I create new site collection, it gives me 404 error message. Also, if I change name default.aspx -> demo.aspx and I change it back to default.aspx, site collection throws 404 error message. Visual studio solution bust up some reason.
I have set Page scope to "Web".
Elements.xml
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module Name="HomePages" Url="" RootWebOnly="FALSE" Path="Files" xmlns="http://schemas.microsoft.com/sharepoint/">
<File Url="default.aspx" Level="Published" Path="default.aspx" />
</Module>
</Elements>
Question is, how I can rename default.aspx or should I create new page?
If I need to create new site, example would be nice.