Dieses Blog durchsuchen

Montag, 20. Juli 2015


Originally posted on jammykam:
I’ve seen a fair number of posts already on SEO Friendly URLs, search engines love them apparently and as humans we love them too – although it could be argued that it is mainly for vanity reasons

Whatever the argument, we agree that Semantic URLs are a good thing for us mere mortals and the vast majority of sites.

View original 2,039 more words

Dienstag, 14. Juli 2015

6 Best practices for sitecore information architecture.

My suggestions to have a stable information architecture following this rules:

  1. Reference items by ID. Way better to move and rename items. While wokinge in the user interface pathes are more readable.
  2. Never use same key in data templates. Keep in mind the this might happen when using inheritance.
  3. Follow max. 100 items under a single item. Create subdirectories und organize them.
  4. Use Lucene search instead of (Fast) Sitecore queries (= SQL calls affect perfomance)! 
  5. Avoid branch templates that can change over time. Branch template don't reflect those updates.
  6. Rich Text Editor. Help Content authors to focus on content, not presentation and never on markup. Use provides Sitecore RTE Profiles: e.g./sitecore/system/Settings/Html Editor Profiles/Rich Text Default
There are way more tips, but those here will help in a first row.

Dienstag, 7. Juli 2015

Sitecore: Edit Items without modifying Statistics.

Sometime we modify item via codebehind with a scheduler,.... but we don't want to update the standard field "updated" and "updated by" to not falsify the value in there.

For this case I found a intersting option in the EditContext method. Set the second parameter to false if you want to avoid updating statics.

  1. using (new EditContext(item, falsefalse))  
  2.         {  
  3.             item["Title"] = "new Title";  
  4.         }