Redirect to External URL

Vote:
 

Hi,

In my site I have a button target to www.mysite.com/registration but I don't have any content with that URL. I need to redirect this URL to an external URL like www.yoursite.com/registration.

Id there any out-of-box feature available?

Please provide the solution for this.

#151946
Aug 10, 2016 19:12
Vote:
 

You can create a page in Episerver with that URL and then use the Shortcut feature (located under the Settings tab on every page) to select your external URL. You can read about Shortcut here http://webhelp.episerver.com/latest/cms-edit/all-properties-view.htm

#151951
Aug 10, 2016 20:55
Vote:
 

You can also create a route in your code or just add an action method in your base controller, if you have one, and then handle the redirect there.

#151952
Aug 10, 2016 20:57
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.