WordPress ‘Auto-refresh page once only after first load’

Try the code given below in your theme header.php file in head section to ‘Auto-refresh page once only after first load’

<script type='text/javascript'>

(function()
{
  if( window.localStorage )
  {
    if( !localStorage.getItem( 'firstLoad' ) )
    {
      localStorage[ 'firstLoad' ] = true;
      window.location.reload();
    }  
    else
      localStorage.removeItem( 'firstLoad' );
  }
})();

</script>

Thats all!!