I am currently trying to modify the newform.aspx for a list in SP 2010. The requirement is to direct a user back to the root site(default.aspx) after submitting the form. I realize I would need to use Designer for this but not sure about the code that would get this done. Any assistance appreciated.



1 Answer 1


The simple way to do this is where ever you provide a link to fill out the newform, you change the hyperlink to include ?Source=http://linkyouroyurroot.

  • Thanks a lot. For some reason the simplier option of just modifying the link didn't seem to work. The button I created is on the home portal site that direscts to newform.aspx with the source query in the url. Anyway, the SPD option worked well. Commented Jun 21, 2011 at 14:58
  • External site link dead.
    – Ravimallya
    Commented Oct 30, 2015 at 10:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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