Submitted by group42prime on January 8, 2013 - 12:25pm
New versions of websites often have new content organizations with new URL patterns. When old content is assigned a new URL it's almost always desirable to redirect traffic from the content's old URL to its new URL. The redirect preserves external links to the site content (i.e., prevents "link rot") and helps maintain search engine page ranking.
Submitted by Dale on December 28, 2012 - 11:10pm
The Drupal 7 Redirect module gives a site the ability to redirect from one URL to another using a proper HTTP redirect status (e.g., 301 - Permanently moved). In addition to the user interface there is a programmatic method for entering redirects.
The aptly named redirect_save function takes an object containing the details of the redirect and creates a redirect for the URL.