Sunday, December 6, 2015

How to set default page in umbraco?


Setting default page is a tricky process, as umbraco always defaults to the first page in document structure. Sometimes, the first page in your document structure may not be the default document you. In such case you can use the below approach.

 

In the template of the first document (or create new document type for tis and use this for creating a root document), add java script redirection as below .In my case it will redirect to index.html.

 

Tuesday, December 1, 2015

How to pre compile a website using aspnet_compiler?

Just use the below command to precompile your website

 

aspnet_compiler -p physicalOrRelativePath -v / targetPath

 

More information regarding the same can be found here


How to Delete/Rebuild Umbraco cache?





How to Delete/Rebuild Umbraco cache?
 


Umbraco maintains the content in two places. One in database and the other in file system as cache in xml. The file system (cache version) can be cleared by hitting at the below link.

Delete/Rebuild umbraco based website cache from direct url:
http://&ltYoursitename>/Umbraco/dialogs/republish.aspx?xml=true

 
If you need further information, the same can be found here