Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Folder Redirection View modes: 
User avatar
Member
Member
matthew.mclarty-n-genstudios - 12/21/2009 10:12:43 AM
   
Folder Redirection
I assumed that this would be a simple thing to do but I'm finding it problematic.

I have a Folder that I've set to redirect to another URL via the Menu options of the Folder. However, the redirection is not happening. It happens if I navigate to http://domain.com/FolderName.aspx but not when using http://domain.com/FolderName or even http://domain.com/FolderName/

Normally, I would do this via IIS. However, I do not have access to this option in IIS for this particular deployment. Anyone have an idea of how I might get this to work?

Thanks in advance!

User avatar
Member
Member
matthew.mclarty-n-genstudios - 12/21/2009 10:18:32 AM
   
RE:Folder Redirection
I should also note that I have created a document under the /Folder called "Default".

Default.aspx is set as one of the option for the default documents in IIS. However, this is still not handling the redirect.

as in http://domain.com/FolderName/<IIS should assume default.aspx>


User avatar
Member
Member
matthew.mclarty-n-genstudios - 12/21/2009 10:33:03 AM
   
RE:Folder Redirection
It seems the CMS does not support Folder redirection.

I wound up creating the folder within the physical location of the site and creating a default.aspx page that handles the redirect.

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 12/21/2009 2:49:16 PM
   
RE:Folder Redirection
Hi,

You also need to configure your Kentico CMS to use extension-less URLs according to following documentation:

http://devnet.kentico.com/docs/devguide/configuration_of_extensionless_urls.htm

In this way Kentico CMS will handle also requests for http://domain.com/FolderName/ and for http://domain.com/FolderName. I hope this will help you.

Best regards,
Miroslav Remias.

User avatar
Member
Member
rra-norvida - 5/1/2010 10:08:57 AM
   
RE:Folder Redirection
Hi

How to configure the folder-redirect if Kentico is hosted on a shared server and user can not access the IIS to configure the settings?

Best Regards,
Raheel

User avatar
Member
Member
rra-norvida - 5/3/2010 5:11:09 AM
   
RE:Folder Redirection
Your suggestion worked for me! Thanks.

Our Kentico solution is placed on a shared hosted server without access to IIS. This does the job:

1. Create a physical folder ie. root of domain.
2 Place here a redirect file (ie. default.aspx) with following code
<meta HTTP-EQUIV="REFRESH" content="0; url=http://yourdomain/RedirectPageName">
3. In CMSDESK choose your folder to redirect and set the URL redirection to the newly created redirect file (Properties/menu/URL redirection)

/Raheel