/* Plugin Name: Redirect Sub-Site To New URL Description: Redirect 'sub-site' to 'new url' Version: 0.1 Author: WPSE Author URI: http://wordpress.stackexchange.com License: GPL2 */ add_action('parse_request', 'redirect_to_url'); function redirect_to_url(){ global $wp; #Sniff requests for a specific slug if('nulc' === $wp->request){ #The URL to redirect TO $url = 'http://www.nulc2014.com'; #Let WordPress handle the redirect - the second parameter is obviously the status wp_redirect($url, 301); #It's important to exit, otherwise wp_redirect won't work properly exit; } } Study Abroad Programs | Study Abroad at Weber State University

Study Abroad Programs

No Upcoming Programs: Check back soon to see next year's!

Powered by Events Manager