Thank you! I was able to implement your code to resolve a problem with WordPress 4.6.1 and post a reply and credit to you at https://wordpress.org/support/topic/preventing-redirection-of-wordpress-indexphp-to-indexhtml-in-public_html/#post-8460182
Andrew Taylor @andrewtaylor-1 wrote a reply to a post at https://wordpress.org/support/topic/45-causes-infinite-redirect-on-static-front-page/ that worked for me with WordPress 4.6.1
I used his code as a plugin which I named “Disable Home URL Redirection:
<?php
/*
Plugin Name: Disable Home URL Redirection
Description: Disables the “Canonical URL Redirect” feature for index.php
Version: 1.0
Author: Andrew Taylor
Author URI: https://wordpress.org/support/topic/45-causes-infinite-redirect-on-static-front-page/
*/
function disable_front_page_redirect_madness($redirect_url) {
if( is_front_page() ) {
$redirect_url = false;
}
return $redirect_url;
}
add_filter( ‘redirect_canonical’, ‘disable_front_page_redirect_madness’ );
?>