sitecore

Sitecore performance optimization - Sitecore configurations, IIS configurations

那年仲夏 提交于 2019-11-30 07:28:59
We are planning to deploy our system in the production server. I am interested in learning more about optimizing the performance of the website. What are the optimizations recommended for Sitecore? (Caching, other settings in web config) What are the optimizations we can do in IIS? Could not find a good article on these topics. Appreciate any help :). Have you looked through all the Sitecore recommended practices and Performance Tuning Guide and applied all these? Take a look at these tips and tricks to help optimize your Sitecore website and take a look at this going live checklist for

How to check whether Sitecore item is using alias

萝らか妹 提交于 2019-11-30 05:42:40
问题 Currently an "Alias" in Sitecore will produce multiple routes to the same content item which can negatively affect SEO in some cases. I am looking for a way to programatically check whether the current Page/Item/URL/Request is using an alias or not. I was hoping there would be something along the lines of: Sitecore.Web.WebUtil.IsAlias Any ideas on how to check for aliases? -------UPDATE------- Here is my current solution which appears to work just fine... Unless anyone has a better ideas?:

How to build a sitemap using Sitecore

狂风中的少年 提交于 2019-11-30 05:14:00
问题 I need to create a Sitemap for a Sitecore website. How can I do this? 回答1: If you're after a sitemap page to list the pages on your site you should try the Shared Source module 'Sitemap'. http://marketplace.sitecore.net/en/Modules/Sitemap.aspx However, if you're after a sitemap for search engine optimization, use Sitemap XML. http://marketplace.sitecore.net/en/Modules/Sitemap_XML.aspx 回答2: It depends on what you need as a Sitemap. Do you want an XML sitemap that goes to Google? Or do you want

Is it possible to build a sitecore data package from command line, or outside of a web context? i.e. using nant

亡梦爱人 提交于 2019-11-30 05:03:06
The Sitecore package wizard can be used to build a package containing data and files for the local Sitecore instance. Is it possible to build a Sitecore package (items only, files are not required) from the command line, or otherwise outside the context of a website? The idea is to use Nant to create a Sitecore data package. I'm aware of Hedgehog TDS, but this question is aimed at what can be done with the existing Sitecore api. You should take a look at the Sitecore.Install.PackageGenerator class in the Sitecore.Kernel to see how you may go about creating traditional Sitecore packages.

TermQuery not returning on a known search term, but WildcardQuery does

南楼画角 提交于 2019-11-30 04:53:37
问题 Am hoping someone with enough insight into the inner workings of Lucene might be able to point me in the right direction =) I'll skip most of the surrounding irellevant code, and cut right to the chase. I have a Lucene index, to which I am adding the following field to the index (variables replaced by their literal values): document.Add( new Field("Typenummer", "E5CEB501A244410EB1FFC4761F79E7B7", Field.Store.YES , Field.Index.UN_TOKENIZED)); Later, when I search my index (using other types of

Sitecore gives a blank page with just the text “Default page” in my MVC solution

为君一笑 提交于 2019-11-30 03:18:42
问题 When I browse to my startpage, e.g. /sv I get a blank page that just says "Default Page". However when I try /sv/ it works. Subpages like /sv/example work without slash though. I'm using Sitecore 7.1 with only MVC views. 回答1: Remove the default.aspx file from the web root. That will fix your problem. 回答2: When requesting URLs without a slash at the end, the "StripLanguage" processor of the preprocessRequest pipeline rewrites path to the value of the Settings.DefaultPageName setting ("default

Web Forms For Marketters (WFFM) Html input tag with placeholder attribute

两盒软妹~` 提交于 2019-11-29 20:48:04
问题 I have a requirement in which I'm implementing sitecore WFFM to create a form. The page has HTML input tags with Placeholder attribute. I have to render the WFFM SingleLineInput box to a input tag with placeholder attribute. What should I do? I know that the SingleLineText class is define in the Sitecore.Form.Web.UI.Controls dll. 回答1: You can achieve this by extending SingleLineText with an additional property to store the placeholder's text value. Once the property is in place, you'll need

Sitecore 'dynamic placeholders' with MVC

前提是你 提交于 2019-11-29 20:28:20
I'm looking for a working Dynamic Placeholder solution in MVC. There are at least two good descriptions of this "pattern" for use with WebForms: http://trueclarity.wordpress.com/2012/06/19/dynamic-placeholder-keys-in-sitecore/ http://www.techphoria414.com/Blog/2011/August/Dynamic_Placeholder_Keys_Prototype And I also found this blog explaining how to do it with MVC: http://blogs.perficient.com/portals/2012/10/17/sitecore-mvc-dynamic-placeholders/ First I have tried to implement Techphoria's method (with GUIDs) using techniques from the MVC blogpost (extension of the SitecoreHelper) and I also

How to customize mobile device detector?

一世执手 提交于 2019-11-29 17:33:41
I have a customize request from my client in sitecore mobile module. I want to be on full view site from my mobile on Career page, i am able to do it but any of the link inside career page with having mobile layout in presentation detail is taking that page again to mobile device. Can we make any customization that maintain the device in cookies so that it keep user on full view site after coming to career page. Is there any setting we can do in pipeline or session. I just want to be throughout in full view site after coming on career page and no going back to mobile layout. Kindly suggest.

Sitecore Rich Text Html Editor Profile - set global default

我怕爱的太早我们不能终老 提交于 2019-11-29 16:57:24
问题 OK I can't believe this can't be found anywhere so I'm asking the question. Is there a way to set the default Html Editor Profile in Sitecore so I don't have the override the Source field on each individual Rich Text field? e.g. I want to make this the default option for the Html editor: /sitecore/system/Settings/Html Editor Profiles/Rich Text Medium 回答1: Its an old question but here is the solution I found in Sitecore 6.5 - I was looking to do the same thing in 6.5: You can change the value