How i can display all posts order by years

You need to add an if statement current loop to print out a year container around your articles. <?php if( have_posts() ) : ?> <?php $current_year = date(‘Y’); // Get the current year and set it $first = true; // Set a $first variable; while ( have_posts() ) : the_post(); if ( $first || get_the_date(‘Y’) … Read more

Yoast Seo noindex added to pages outside wordpress

You can use the wpseo_robots filter (yoast documentation) to override that. Add something like add_filter(“wpseo_robots”, function() { return “index, follow”; }); before calling get_header() to overwrite what wpseo sets. Don’t put it in the functions.php of your theme, though, or it will be used on everything in WP.

Home page returns 404

Delete all changes you have done on the .htaccess Make it clean and default to get it OK first, then do the customization. Also try deactivating all plugins and changing your theme to a new one, better get one from https://wordpress.org/themes