url redirect

Posted by Community Admin on 03-Aug-2018 05:04

url redirect

All Replies

Posted by Community Admin on 08-Feb-2012 00:00

Hi,

if user enter the site with http://mysite.com
I need to redirect from code-behind to http://mysite.com/var/sample

I noticed there is a default.aspx at the root of the project.  should I put response.redirect code there?  if yes, please provide sample

Thanks,
JH

Posted by Community Admin on 08-Feb-2012 00:00

Dear JH is your goal to have different landing pages for www.mysite.com and mysite.com?
If not could you not simply set /var/sample as homepage?

Markus

Posted by Community Admin on 08-Feb-2012 00:00

Hi Markus,

Thank you for your response.

My goal is to redirect to a different landing page(there are about 100 landing pages) and this landing page is calculating at run-time.
example:  when user hit http://www.mysite.com
from code-behind(or jquery), find out geolocation(this part is already done) by remote_address then
redirect to www.mysite.com/.../landingpage

Thanks,
JH

Posted by Community Admin on 10-Feb-2012 00:00

Hi JH,

We've responded in your support ticket already.

Kind regards,
Jen Peleva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed