Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Document aliases for site that's moving to Kentco View modes: 
User avatar
Member
Member
zelewsky-lbpc - 3/7/2011 4:32:28 PM
   
Document aliases for site that's moving to Kentco
Hi,

Our site is moving to Kentico, and we'd like it so users who follow emailed links for the current site can still get the requested document after the switch occurs. In the alternative, though we want to avoid this approach if possible, users who request such documents would be redirected to the home page or a search page on the new site.

I've read about configuring IIS for extensionless URLs and adding document aliases in Kentico but am still having problems getting this to work. We are running the sites in tandem, so the documents are already being pushed into Kentico.

Right now, our live URLs look like this --

http://www.mysite.com/news/get_story.cfm?id=12345

Our Kentico URLs look like this (www will replace the subdomain at launch) --

http://test.mysite.com/Articles/2011/03/07/document.aspx

So continuing this example, I tried giving document.aspx (which is an article in Kentico) a custom alias path of "news/get_story" and in the extended properties, a URL extension of ".cfm?id=12345."

But when I try retrieving the document at http://test.mysite.com/ews/get_story.cfm?id=12345 the site returns a 404.

I tried adding ".cfm" as a friendly extension in Site Manager, but for obvious reasons, I can't add a friendly extension with the "?id=" search string to account for every article.

So my question is, Do extensionless URLs have to be set in IIS for this to work or should setting a custom alias path and extension work on their own as long as there is no search string?

Thanks,
Paul Zelewsky