Redirect After New User Registration?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/4/2010 9:40:13 PM
Gravatar
Total Posts 6

Redirect After New User Registration?

Is there any way to redirect a user to a specific page after they have registered an account?

 

BTW - fantastic product, and fantastic support!  I shall buy you a beer tonight, and raise my own glass to you, Joe.

4/5/2010 8:00:39 AM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

Hi Kent,

Currently the only way to do this is by implementing a custom UserRegisteredEventHandler, however, given how many times people have asked how to do this, I just implemented an easy low fi solution that will be available in the next release.

There will be a new config setting in the next release that you could override in user.config

<!--
Generally you should leave this blank and let mojoportal handle the redirecting after a user registers.
However if you want to force redirecting to some specific page you can force it with this setting:
<add key="PageToRedirectToAfterRegistration" value="/yourcustompage.aspx" />
Warning! Do not use this in a multi site installation. This is a global setting and will affect all sites.
-->
<add key="PageToRedirectToAfterRegistration" value="" /> 

I say it is low fi because it is a global setting and therefore would apply to all sites hosted in the mojoportal installation. So it is fine in a single site installation but in a multi site you would have to make the same page to redirect to in each site since they all share the same config settings.

Hope it helps,

Joe

4/11/2010 11:00:04 AM
Gravatar
Total Posts 6

Re: Redirect After New User Registration?

Thanks, Joe!  This is actually perfect.

 

Do you have any idea when you would be releasing the next version, with this feature in it?

11/11/2011 9:04:49 AM
Gravatar
Total Posts 41

Re: Redirect After New User Registration?

Hi,

I'm using this setting to redirect to a specific page after a user registers, but I'm finding I can only redirect to a physical page, not to a dynamic page within the portal.  Should I be able to do this?

Michael

11/13/2011 8:25:08 AM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

yes you should, what are you entering for the setting?

It needs to be formatted like /yourpagename.aspx because it will have the site root appended in front of it.

Hope that helps,

Joe

12/21/2012 3:00:53 PM
Gravatar
Total Posts 163

Re: Redirect After New User Registration? continue button link

hi,
I would like to know how to change the destination page you click on 'continue' at the end of the wizard to register a new user.
having the site in a subfolder of the root folder of the server brings me to a page that does not exist:

example

www.mydomain / mojosubfolder / mojosubfolder

instead that:

www.mydomain / mojosubfolder

12/21/2012 3:11:22 PM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

Hi,

Is it a multiple site mojoPortal installation with folder based sites?

If yes, then you might need to add this in user.config:

<add key="UseTransferRequestForUrlReWriting" value="false"/>

If it is just a single site mojoportsal instance and you have installed in a sub folder beneath some other app running in the root folder, and if you are also using https, then you may need to add this to the user.config file:

<add key="IsRunningInRootSite" value="false" />

Hope that helps,

Joe

12/22/2012 4:28:02 AM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

hello joe,

I tried to follow your instructions but still not working.

only properly registrations of new users, but the button is pressed 'continue' is redirected to a new page that can exist is called because the subfolder

example:

www.mydomain.com/website3/secure/register.aspx?returnurl 2fwebsite3% 2f%

which obviously does not exist and returns a server error for resource does not exist

12/22/2012 6:30:43 AM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

massimiliano you have not provided enough information

What version of mojoPortal?  

What version of .NET?

Is it installed in the root and using multiple site?

Is it installed in a sub folder?

Do you have SSL enabled?

12/23/2012 4:31:59 AM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

hello joe,

my site is hosted on aruba (italy) I have installed a folder as follows:

www.mydomain.com/website3

the framework on the server is DOT NET 4.0 and the version of mojo is the last release not use multiple sites and is installed in a folder called WebSite3

everything works regalarmente including registration of new users but the problem is when at the end of recording button is pressed 'continue', which is a page that bet not more exist, as follows:

www.mydomain.com/website3/website3 ...

and the server returns a 404 error

12/24/2012 2:27:21 AM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

please heeeeeeeeelllllllllppppppp me . i need to resolve this problem

You must sign in to post in the forums. This thread is closed to new posts.