kentico cms - url rewriting and output filters
DESCRIPTION
Kentico CMS provides exposes a friendly URL addresses that provides web sites with better SEO visibility and full control of their exposed URL’s. This process is based on a URL rewriting engine that displays the correct page based on a specified friendly or smart URL. Once the page is processed by the URL rewriting engine, the rendered HTML is sent to a set of output filters. These filters applied allow developers to make changes to the HTML before it is sent to the browser. In this webinar we will examine this process and the ways that it can be used to build your site.TRANSCRIPT
URL Rewriting and Output Filters
Thomas [email protected]://devnet.kentico.com/Blogs/Thomas-Robbins.aspx
Kentico_CMStrobbins
SESSION AGENDA
• The Power of Friendly URL’s
• URL Rewriting Engine
• Output Filters
THE POWER OF FRIENDLY URL’S
WELCOME TO KENTICO CMS 5.0∙ On-line forms (BizForms)∙ On-line users∙ PayPal support∙ Personalized content∙ Personalized editor∙ Polls∙ Portal engine∙ Preview before publish∙ Recycle Bin∙ Report Abuse∙ Reporting∙ Re-use content on several pages∙ Roles and Users∙ RSS feeds∙ SEO∙ Scheduled Tasks∙ Spell-checker∙ Starter Sites∙ Taxonomy - Categories, Tagging∙ Time-zones support∙ UI Personalization∙ URL aliases∙ User contributions∙ User management∙ User registration and secured pages∙ Web analytics∙ Web farm support∙ Widgets∙ Windows authentication∙ Windows Live ID authentication∙ Workflow∙ WYSIWYG, browser-based editing∙ XHTML, CSS layouts, W3C WAI∙ Youtube integration
∙ 200 built-in web parts∙ Active Directory integration∙ AJAX support∙ Approving documents∙ Authorize.NET∙ Avatars∙ Bad words∙ Badges∙ Banned IP addresses∙ Blogs∙ Booking System∙ Branding∙ Complete documentation of the CMS∙ Content and object staging∙ Content locking (check-in/check-out)∙ Content Rating∙ Content/design separation∙ Controls caching∙ Custom document types∙ Custom document types with∙ Custom event handlers∙ Custom fields∙ Custom tables∙ Custom web parts in C# and VB.NET∙ Customizable Menu∙ Customizable page templates∙ Customizable permissions∙ Customizable settings∙ Deployment on shared hosting∙ Document-level permissions∙ Drag-drop development∙ Dynamic site map∙ Easy deployment
∙ E-commerce (on-line store)∙ E-mail queue∙ Event Calendar∙ Event Log∙ Export/import web sites or selected∙ Flexible content hierarchy∙ Flexible navigation∙ Forms authentication∙ Forums∙ Friendly (smart) URLs∙ Friends∙ Full source code∙ Full-text search∙ Fully customizable∙ Geo mapping (Google Maps)∙ Google sitemap∙ Groups∙ IE 6.0, IE 7.0 FireFox 1.0.5+, Mozilla
7.1+, Netscape 7.1+, Opera 7.52+ support
∙ Image gallery∙ Incremental deployment of site changes∙ installation and database∙ Integration with custom user and role
database, external authentication∙ Linked documents∙ Management and publishing of∙ Media library∙ Memory management∙ Message boards∙ Messaging∙ Multiple languages∙ Multiple sites using single code∙ Newsletters∙ Notifications
UNFRIENDLY URL’S
• Complex to read• Contain punctuation and identifiers• Why you should be concerned• Difficult to type – typos are common• Don’t promote usability – Difficult to remember and provide no clue to a
user as to what the resource is• Security risk – Classic front door attack on modifying the URLS’s• Impede abstraction and maintainability – Expose wiring of the site and
make changing technology difficult
FRIENDLY URL’S
• Easy to remember, write and share•SEO Friendly•Shows users where they are located on the site
URL REWRITING ENGINE
ASSEMBLING THE PAGE
Page is requested• IIS Request
Is page excluded• Site Manager –
Settings – URL s and SEO
Assemble page• Inherit settings• Get page settings
Apply output filters• Fix form elements• Fix HTML
incompatibilities• Resolve relative URLs
Display Page
THE PAGE CALL STACK
Application_AuthorizeRequest: Fired when the security module has verified that a user can access resources
SYSTEM WIDE SETTINGS
OUTPUT FILTERS
SETTING OUTPUT FILTERS• Fixes issues with non working post backs on pages using
URL rewriting• Ensures forms, dialogs, and buttons will work correctly
on CMS managed pagesForm Filter
• Fixes some XHTML incompatibilities• Closes unclosed tags, and invalid script tags• XHTML may also be fixed by WYSIWYG editorXHTML
Filter• Changes relative URL ~mypage1/mypage2.aspx to
/mypage1/mypage2• It changes only URLs inside src and href attributesResolve
Filter
OUTPUT FILTERS
• Helps with user input errors• Applied to rendered HTML code • Pages can be excluded in Site Manager ->
Settings -> Output Filter
UPCOMING ACTIVITIES
April 27, 2010 - April 29, 2010 - Internet World 2010 May 01, 2010 - Toronto Code Camp 2010 May 04, 2010 - May 06, 2010 - J.Boye ConferenceMay 11, 2010 -10-11AM PST - Kentico Webinar: Technical Learning - What’s new with Kentico 5.5?June 07, 2010 - June 10, 2010 - Microsoft Tech·Ed North AmericaJuly 11, 2010 - July 15, 2010 - Microsoft Worldwide Partner Conference
Don’t forget the Kentico Developer Newsletter!
Technical Learning Session Request – [email protected]
QUESTIONS
Thomas [email protected]
http://devnet.kentico.com/Blogs/Thomas-Robbins.aspx
Kentico_CMStrobbins