Homepage has Paged Pages that should not exist, like /page/2/ and on to /page/99999/

To remove relational links from the single post <head> use remove_action( ‘wp_head’, ‘adjacent_posts_rel_link_wp_head’ ); adjacent_posts_rel_link_wp_head documentation. To return Status 404 on paginated pages use .htaccess rule similar to following: RewriteRule ^page/([0-9]+)/$ http://yourdomain.tld/404/ [R=404,NC,L] .htaccess rule is not tested, but it gives you an idea.

Site url is not showing the home page

Finally, i solved by installing a free plugin called “Simple Website Redirect”. It did not seem to work in the beginning, but after few hours the effects took place. This plugin redirects internal url to whatever destination y choose. It takes few hours for the changes to take place.

Category selectable homepage

It’s important to add guard clauses to prevent modification of other queries. (For example, menus). We are trying to modify the main query here, so we should bail if this is not the main query. function my_get_posts( $query ) { // Bail if this is not the main query. if ( ! $query->is_main_query() ) { … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)