Permalink Reply by Bradley Livermore on March 21, 2011 at 3:56pm If you're running on apache then it's fairly easy. In your site's httpd configuration you set up directives.
If you have straight forward old URLs then you can do it the real easy way -
Redirect 301 /accreditation_licensing/ "http://www.example.edu/about/accreditation"
Redirect 301 /orlando.aspx "http://www.example.edu/orlando"
Redirect 301 /online-education.php "http://www.example.edu/academics/online-learning"
Redirect 301 /madison/alumni-zone/ "http://www.example.edu/alumni"
That says if someone requests the old URL http://www.example.edu/orlando.aspx then 301 redirect them to the new URL http://www.example.edu/orlando
or if someone requests the old URL http://www.example.edu/madison/alumni-zone/ then 301 redirect them to the new url http://www.example.edu/alumni
If you have dynamic URL parameters then you have to build Rewrite Conditions which are a bit more difficult:
RewriteCond %{REQUEST_URI} /program
RewriteCond %{QUERY_STRING} ^id=13
RewriteRule ^(.*) http://www.example.edu/academics/nursing? [R=301,L]
RewriteCond %{REQUEST_URI} /program
RewriteCond %{QUERY_STRING} ^id=14
RewriteRule ^(.*) http://www.example.edu/academics/business-administration? [R=301,L]
RewriteCond %{REQUEST_URI} /program
RewriteCond %{QUERY_STRING} ^id=15
RewriteRule ^(.*) http://www.example.edu/academics/computer-science? [R=301,L]
That says, if the URL has /program and it has an ID of 13 then send them to the new nursing page. The old URL would look like this - http://www.example.edu/program?id=13
If the URL was http://www.example.edu/program?id=14 then 301 them to business administration
You do all of this inside of your apache configuration file -
http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect
Daniel Bashaw replied to Kimbel Jeffers's discussion Office Reservation software
Kimbel Jeffers replied to Kimbel Jeffers's discussion Office Reservation software
Annette Spearman replied to Derek Tonn's discussion Freelance web design recommendations (small projects)
Colleen Brennan-Barry posted a discussion
faris ahmed commented on social networking web design's blog post Megastar Media Webby Award Honorees
Lynn Zawie posted a discussion
Sara Michel commented on Lynn Zawie's group OmniUpdate
Sara Michel commented on Lynn Zawie's group OmniUpdate
Norma J Dowell replied to Derek Tonn's discussion Freelance web design recommendations (small projects)
Daniel Bashaw replied to Kimbel Jeffers's discussion Office Reservation software
Kimbel Jeffers posted a discussion
Sara Michel commented on Lynn Zawie's group OmniUpdate
Helen Mosher posted a status
Sarah McMaster replied to Katra Farah's discussion Online chat interfacesUWEBD has been in existence for more than 10 years and is the very best email discussion list on the Internet, in any industry, on any topic
© 2013 Created by Mark Greenfield.