<?php

/**
 * Prevent unwanted 404 redirects
 *
 * Prevents not-found errors from being converted to redirects if NOBLOGREDIRECT is defined.
 */
remove_action('template_redirect''maybe_redirect_404');