(828) 862-6667

Sitefinity Blogs


  • Little known Sitefinity configuration settings
  • More detailed examples for Sitefinity component usage
  • Work-arounds for Sitefinity limitations
  • Discoveries and Ah-Ha moments 

Extensionless Page Reference: Have your cake and eat it too!

by Rich Winslow | Nov 07, 2010

I have implemented a good number of Sitefinity sites with the standard .ASPX file extension.  However, when I analyze how spiders and visitors might access my sites, there are extensionless requests.  I was hoping that I could have both.

The Sitefinity 3.7 User Manual (page 186) describes how to get extensionless web pages by:

  • Changing the <cms pageExtension=".aspx"> element in the web.config file to <cms pageExtension="">
  • Changing IIS so the 404 error definition has Path Type of 'Execute URL' and a Path of '/sf404.aspx'.  This does work jusst fine, but specifying the .aspx file extension in the URL will produce a 404 error.

But if you want both extensionless web pages and .aspx web pages, then leave pageExtension as '.aspx'

  • Setting the web.config file cms element attribute pageExtension to '.aspx'  (ex. <cms pageExtension=".aspx" ...> )
  • Changing IIS so the 404 error definition has Path Type of 'Execute URL' and a Path of '/sf404.aspx'.  This does work jusst fine, but specifying the .aspx file extension in the URL will produce a 404 error. (See the Sitefinity user manual page 186 for IIS version specific examples)

Now I don't get an error when spiders and vistors leave off page extensions. 


Sitefinity can be configured for extensionless page types via IIS


Automated Results is an Sitefinity MVP partner with extensive Sitefinity experience, let us know if we can help you with your Sitefinity implementation


By redirecting to the sf404.aspx page, Sitefinity will automatically add the .aspx page extension and deliver the correct page without generating a 404 page not found error.

2 Comments

  1. 1 lv bags 26 Apr


    Hanyang authentic jordans District, Wuhan, jordan retro 21 Wang Jia Wan a rental situation immediately after the net, retro 22 jordan accolade in one jordans 22 fell swoop jordan accolades premier of the rental.
  2. 2 lv bags 26 Apr
    <b><a href="http://www.buylvbagonline.com/cruise-2011-C17.html">louis vuitton fall 2011</a></b> computer, <b><a href="http://www.buylvbagonline.com/shoes-C50.html">lv shoes men</a></b> with a major crime suspects.  <b><a href="http://www.buylvbagonline.com/shoes-C50.html">louis vuitton shoes price</a></b>   <b><a href="http://www.buylvbagonline.com/">cheap louis vuitton</a></b> April 2, the <b><a href="http://www.buylvbagonline.com/cruise-2011-C17.html">most popular louis vuitton bag 2011</a></b> panel in determining the sheets × was settled <b><a href="http://www.buylvbagonline.com/shoes-C50.html">louis vuitton shoes online</a></b> in.

Comment

  1.    
     
     
      
       

Why Give Our Secrets Away?

I often get asked why I'm willing to journal all of my Sitefinity discoveries. People think I'm insane to give away for free what I labored over at some point.

Let me answer that in 2 parts:

  • Why journal my discoveries?

    Because I forget and I want to a library of knowledge to refer back to. Oh but it is far worse than that... THREE TIMES now, I've gone to Google and searched for a solution to a problem, only to find MY OWN BLOG entry is #1 in Google and viola! there's the solution!
  • Why give it away for free?

    Because others have been kind enough to do it for us; what goes around, comes around.

    There are all levels of experience, thus someone with less experience may defer to us when needed.

    The lines of 'competition' are very much blurred; in our minds competition is a potential customer or partnership in the right situation.

    We maintain healthy partnerships with one of our competitors; they come to us when they need help and visa versa.

    There is plenty of work out there for everyone if you are putting out quality work and you are straightforward with clients and competition.

Talk to us about how we can help YOU!

 


Don't miss out!

Keep up with our Sitefinity discoveries!
Click on the RSS feed icon below or sign up for our newsletter.


Email Address:
     















Company Info  |   Contact Us  |   Site Map  |   Terms  |   Privacy Policy  |  

Automated Results Computer Consulting LLC, 222 South Caldwell Street, Brevard, NC 28712 (828) 862-6667