Location: PHPKode > scripts > SEO Redirect 301s > wp-seo-redirect-301/seo_redirect_list.php
<?php if (are_seo_redirect_301_dependencies_installed()) {
	if (isset($_GET["delete_id"])) {
	  tom_delete_record("slug_history", "post_id=".$_GET["delete_id"]." AND url='".$_GET["delete_url"]."'");
	  wp_redirect("".get_option("siteurl")."/wp-admin/admin.php?page=wp-seo-redirect-301/seo_redirect_list.php", 200);
	}
	$my_redirects = tom_get_results("slug_history", "*", "");

	wp_enqueue_script('jquery');

	?>

	<script language="javascript">
	  jQuery(function() {
	    jQuery("a.delete").click(function() {
	      if (!confirm("Are you sure?")) {
	        return false;
	      }
	    });
	  });
	</script>

	<h2>SEO Redirect 301</h2>
	<div class="postbox " style="display: block; ">
	<div class="inside">
			<table class="data">
				<tbody>	
				  <?php 
						$record_count = 0;
						foreach($my_redirects as $redirect) { ?>
				    <?php if ((get_permalink($redirect->post_id) != "") && (preg_replace("/\/$/", "", $redirect->url) != preg_replace("/\/$/", "", get_permalink($redirect->post_id)))) { 
							$record_count++;
							?>
					    <tr>
					      <td><a target="_blank" href="<?php echo($redirect->url); ?>"><?php echo($redirect->url); ?></a></td>
					      <td><strong style="margin: 0 10px;">redirects to</strong></td>
					      <td><a target="_blank" href="<?php echo(get_permalink($redirect->post_id)); ?>"><?php echo(get_permalink($redirect->post_id)); ?></a></td>
					      <td><a class="delete" href="<?php echo(get_option("siteurl")); ?>/wp-admin/admin.php?page=wp-seo-redirect-301/seo_redirect_list.php&delete_id=<?php echo($redirect->post_id); ?>&delete_url=<?php echo($redirect->url); ?>">Delete</a></td>
					    </tr>
					  <?php } ?>
				  <?php } ?>			    
				</tbody>
				<?php if ($record_count == 0) { ?>
					<tfoot>
						<tr>
							<td colspan="4">You haven't changed any page/post slug names yet.</td>
						</tr>
					</tfoot>	
				<?php } ?>
			</table>
	</div>
	</div>

	<?php tom_add_social_share_links("http://wordpress.org/extend/plugins/wp-seo-redirect-301"); ?>
<?php } ?>
Return current item: SEO Redirect 301s