Redirecting user from an old web to another in Sharepoint
Posted
by BeraCim
on Stack Overflow
See other posts from Stack Overflow
or by BeraCim
Published on 2010-04-07T09:30:41Z
Indexed on
2010/04/07
9:33 UTC
Read the original article
Hit count: 290
sharepoint
|sharepoint2007
Hi all:
I want to add the ability to redirect users when they visit certain old sites. The URL of the old sites are unknown, but the server name is the same, e.g.
Old site url:
http://sharepoint/mySite/default.aspx
New site url:
http://sharepoint/myNewSite/...
There are a lot of other pages within mySite, most of which must be redirected to the new site, but there are exceptions (e.g. user can still view the documents within the site). I thought I have to do this programmatically by somehow capturing the http request and read the url myself. Being no sharepoint guru, I had a quick google, and found that writing a web part is prehaps the best alternative for my situation.
But I'm just wondering, given my situation and needs, is writing a web part, or something programmatically, really the ideal solution? Or is there a faster and quicker way to achieve what I want using Sharepoint?
Thanks.
© Stack Overflow or respective owner