How to implement pagination in backward way eg. first – 20 – 19 – 18 – … – 3 – 2 – 1 – last

You could use wp_paginate_links(), pass it the ‘type’ => ‘array’ parameter in the argument array, and then array_reverse() the output. But: if you’re doing this for SEO purposes, don’t bother. Your canonical URL should be your single-post view, not an archive index; so the index archive page numbers should have minimal SEO impact, no matter … Read more

add_filter the_content in functions.php not working

This part of the single post template is called the loop: <?php if (have_posts()) : while (have_posts()) : the_post(); ?> Within the loop you need to call in the content: <?php the_content(); ?> Replace your single post template with this and see if it works now: <?php get_header(); ?> <div id=”content” class=”clearfix row”> <div id=”main” … Read more

Duplicate Australian E-Commerce site

You should set rel alternate hreflangs on both sites – <link rel=”alternate” href=”http://example.com.au” hreflang=”en-au” />on example.com and <link rel=”alternate” href=”http://example.com” hreflang=”en-us” /> on example.com.au then you sholud set targeting site content to a specific country (geotargeting) in Google search console for – example.com – United States, for abc.com.au you don’t need to do anythong because … Read more

WordPress web page struggling with performance

Your site appears to be pretty well structured in most ways and you’re getting a good score. If you’re seeing a huge swing day to day, test to test, etc, then it’s probably a hosting related issue. What type of hosting are you on? Is it cloud, is it shared, is it WordPress specific? https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.greenstuff.sk%2F&tab=desktop … Read more

How to let crawlers search paginated comments?

The reason of why Google doesn’t index paginated comments is because of an issue with the canonical URL in your header. You can learn more about the reason behind this in a comprehensive question that I posted earlier. There is an excellent solution posted there for paginated post pages. Now, for Google to index comment … Read more

Remove date from Google Search Results Description

Paste this code in functions.php add_filter( ‘wpseo_show_date_in_snippet_preview’, false); //Returning false on this will prevent the date from showing up in the snippet preview. Note: WordPress SEO api

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