Skip to content

Instantly share code, notes, and snippets.

@peterwegren
peterwegren / 301s.php
Last active December 8, 2016 16:39
301s - WP Include File
<?php
$url = get_home_url();
// map redirects in array: [old url (path)] => [new url ($url + path)]
$redirect_urls = array(
// '' => $url . '',
);
/**