@Steven
Thank you, removing lines 112 thru 114 AND going to the WP admin page, Settings > Permalinks and clicking the Save Changes button, worked!
@Mike