Portal Engine
Version 3.x > Portal Engine > Marketing URLs View modes: 
User avatar
Member
Member
Shuyun - 6/3/2009 11:07:39 PM
   
Marketing URLs
I have Kentico 3.1a installed at the domain's root (shared with other domains).

Is there any way of creating a marketing url, eg www.domain.com/promotions which can redirect to www.domain.com/page1.aspx (Kentico page) , without affecting other domains?

I can easily do a virtual directory on IIS level, but that would mean www.domain2.com/promotions is also a valid url, which should not be the case.

Thanks in advance,
Shuyun

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 6/4/2009 6:17:27 AM
   
RE:Marketing URLs
Hi Shuyun,

You can create 'promotions' folder in root of project folder in filesystem and put default.aspx file into this folder that will redirect the user to appropriate page.

Best Regards,

Martin Dobsicek

User avatar
Member
Member
Shuyun - 6/4/2009 9:08:55 PM
   
RE:Marketing URLs
Thanks!

That was exactly what I did before I saw your reply.

The only catch to this is that, if I need www.domain2.com/promotions to do redirection as well, I need to add in the codes to check for domain name and do the correct redirection.

Thanks again,
Shuyun