SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an anonymous access publishing site that has a 'Log In' link. I would like to redirect successfully authenticated users to a particular page.

So, a user could be looking at any page on the anonymous access public site, then they click log in, and if they authenticate correctly then they should be redirected to a specifc URL of my choosing.

Currently I am using Windows authentication, but it would be useful if it could also work for forms-based.

How can I do that?

share|improve this question
up vote 1 down vote accepted

If you change your signin url to include the source querystring and value to what you want they will be redirected:

For instance:


that url will redirect the user to a blank image after authentication.

share|improve this answer
As a note to this answer, I was using the Welcome.ascx user control for the Sign In link, which autoredirects you to the page you were at when you clicked sign in. I've made my own Welcome control (based on the original) to change this behaviour. – ngm Nov 3 '10 at 11:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.