we can redirect a sharepoint page to any url or page by the following steps. we might need to do this for some url which has been used for quite some time and users maybe still accessing the old url.
1. open the site you want to redirect in sharepoint designer.
2. open and edit the home.aspx page in notepad
3. replace all the code in the home.aspx page with the code below. the url in the code refers to the page it will be redirected.
<%@ Page language=”C#” Inherits=”Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=126.96.36.199,Culture=neutral,PublicKeyToken=71e9bce111e9429c” %>
window.location.href = “http://test/Pages/Default.aspx”;
4. save the home.aspx and now when you browse to the old site/page it will redirect to the url in the code.