The AddAspxExtension property in Sitecore V6

by Aboo Bolaky 11. February 2009 07:53

In Sitecore 6.0, a new Link Manager class has been added. In the web.config, a few properties affect the functionality of the Link Manager. I've already posted on the EncodeNames property (fyi, default value : false).

The AddAspxExtension Property

On the surface, I can clearly relate to the functionality of this property. If this is set to false, we are instructing Sitecore to render links (i.e via <sc:link>) without any extensions. This is (alledgedly) GREAT NEWS for SEO experts. If you leverage this functionality with some Url Rewriting (either via Helicon Isapi Rewrite Lite (free)  or UrlRewriter.Net ), you must be thinking that you will have a Sitecore front-end website without any extensions.

The Glitch...

If you spent most of your time in implementing regular expressions to rewrite (under the hood) those extensionless links to .aspx and feed them back to Sitecore, Well...I'm afraid you have wasted your precious time (no matter how cool your regex expressions are!!). The moment you try to access the Content Editor in the CMS, you  simply receive some weird error messages. Sometimes, it's the dreaded YSOD (Object Reference not set to an instance of an object) or occasionally a 404 page welcomes you. With the AddAspxExtension property set to false, you might end up with a fancy looking frontend and NO backend support at all. Not very usefull... Did a bit of research on SDN5, turns out that the symptoms are correct

This has led me to believe that, in the midst of tackling problems that vary in programming complexity and requirements , always take a step back and test both the front end and back end when dealing with "unchanted territories".

And then...

The search to build an SEO friendly website in Sitecore continues.. Surely, I'll get the better of this (it's just a matter of time...why not build up the suspense?)  and will let you know how I did it !!!! 

Back to Sitecore now....


.Net | Applications | Sitecore | Tips & Tricks


5/6/2010 4:23:01 PM #

hotel slippers

Thanks for your article!

hotel slippers People's Republic of China |

5/10/2010 5:17:23 PM #

replica watch

Thank you for sharing with us,<a href="" rel="dofollow">replica watch</a>

replica watch United States |

5/17/2010 1:41:39 PM #

Stainless Steel Ball

I think the code is so good to use. I will be using it at work in the future. Keep up the good work.

Stainless Steel Ball United States |

5/24/2010 11:44:37 AM #

cctv ccd camera

Thanks for the nice blog. It was very useful for me. I'm happy I found this blog.(^_^)

cctv ccd camera Canada |

5/24/2010 11:45:15 AM #

Wholesale ED HARDY

Happy to have found this post.Thanks for such a great post and the review, I am totally impressed! Keep stuff like this coming.

Wholesale ED HARDY Canada |

11/5/2011 9:58:15 AM #

reserver riad

Thank you for sharing superb informations. Your site is so cool. I am impressed by the details that you’ve on this website. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for extra articles. You, my friend, ROCK! I found just the information I already searched everywhere and merely couldn’t happen over. What an aspiration network location.

reserver riad France |

11/7/2011 9:55:26 AM #

visite Marrakech

I think that is with the most expressive info for me. Further i’m cheerful reading your essay. Still wanna comment on part common objects, The website fashion is incredible, the essays is in thesis of phenomenon lovely Souriant . Even option assignment, brightens.

visite Marrakech France |

11/7/2011 6:37:15 PM #

voir Marrakech

Attention to item poet , any prominent eclectic instruction . “When you refrain to fantasize you refrain to exist.” by Malcolm Stevenson Forbes.

voir Marrakech France |

11/13/2011 8:50:42 AM #


Thanks for the auspicious writeup. It actually was once a pleasure worth it. Glimpse network to far delivered willing from you! Except, how can we hold up a correspondence?

Marrakech France |

11/13/2011 6:15:13 PM #

visite Marrakech

Its cherish you understand my ideas! You seem to clutch so much approximately this, cherish you wrote the e-reserve in it or something. I perceive that you could do with a few p.c. to push the meaning home a miniature iota, except other than that, this is fantastic blog. A fantastic understand. I’ll certainly be back

visite Marrakech France |

11/15/2011 2:25:55 PM #

le secteur immobilier au maroc

This is too diligent-grabbing, You are an overly pro blogger. I’ve joined your nurture furthermore reside up for looking for also of your impressive inform. Too, I enjoy mutual your maze locale in my societal structures!

le secteur immobilier au maroc France |

11/15/2011 8:29:50 PM #

immobilier maroc marrakech

I dugg any of you inform as I imagination they were same cooperative adroit

immobilier maroc marrakech France |

Tag cloud

Flash Player 9 required.

About Me

I wish I could write something here..
//TODO: ElaborateMe