sell website making service

How To Show All Pages, Products, Tags Links In Sitemap

Google Search Console Not Showing All Pages, Products, and Tags on Sitemap

During a routine check, I found that Google Search Console was not displaying the full list of products and tags in the sitemap. My website contains many pages, products, and tags, and the sitemap in Search Console should show the full list. Therefore, I began investigating and will provide a solution on how you can list all your pages, products, tags, and categories in the sitemap and have them displayed in Search Console.

Search console sitemap showing only few products.

Search console sitemap showing only few products.

Why should I include everything in the sitemap?

If you want your site to follow all the best SEO practices, you should ensure that all the links you want to be searchable by visitors are listed in Google search results. The best way to do this is by automatically listing all links in the sitemap. When search engine bots like Bing and Google crawl your website, they will discover those pages and list them in their search results. If search engine crawlers do not find links in your website’s sitemap, it will be challenging to maintain good on-page SEO, and those missing pages or products may not get listed in Google/Bing search results, causing you to lose traffic.

Why Was the Search Console Sitemap Not Showing All Links from My Website?

It was concerning to see that pages, products, and tags were missing from the sitemap, as shown in the image above. After some analysis, I found that my website’s sitemap, generated by the Rank Math SEO plugin, was not displaying all the links. Therefore, the issue was with my own sitemap, and Google only crawled what was included in it. Initially, I thought it was Google’s fault for not picking up everything listed in the sitemap.

google search console

google search console

My next task was to ensure that the sitemap contained all the links from my WordPress website.

How I Fixed My Website’s Sitemap

To fix the sitemap, I searched the internet but couldn’t find a satisfactory solution. I even tried deactivating and reactivating the SEO plugin, but nothing changed, and I started to worry.

One technique I often use when everything seems correctly set up, but changes aren’t reflected on the site, is to clear all the possible caches. I cleared the cache from my website’s own cache plugin, Cloudways cache, and Ezoic cache.

How To Show All Pages, Products, Tags Links In Sitemap

Ezoic leap cache

W3 Total Cache plugin

W3 Total Cache plugin

After emptying these caches, my sitemap finally displayed the correct number of links. This was a huge relief, as it indicated that everything on my side was fixed. Now, it was up to Google to re-crawl the sitemap and reflect those changes in Search Console.

Re-indexing My Sitemap on Google Search Console

To make the process risk-free, I deleted the sitemap from Search Console and added it again. After a few minutes, Search Console was displaying the correct sitemap.

Conclusion

The problem stemmed from the sitemap running an outdated cache, which didn’t reflect recent changes on the website. Clearing the cache allowed my website to show all the links in the sitemap correctly.

Share this article if it helps.

If you need help regarding any WordPress/website issues, you can contact me

How to Fix WooCommerce Payment Message in Checkout Page

“Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.” This was the message I received when trying to checkout from my WooCommerce e-commerce WordPress website, even though the payment method had been configured earlier and was working fine.

How to Fix WooCommerce Payment Message in Checkout Page

The message was a bit confusing, as nothing had changed in the settings, but it still appeared on the checkout page and prevented customers from completing their purchases. I had configured the payment method as ‘Cash on Delivery’ only.

I went back to the settings, reconfigured them, and saved everything, as shown in the screenshots below.

How to Fix WooCommerce Payment Message in Checkout Page

How to Fix WooCommerce Payment Message in Checkout Page

After enabling and saving the settings, the message disappeared, and everything has been working fine since.

Share this article if it helps.

If you need help regarding any WordPress/website issues, you can contact me.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Wordfence was blocking all visitors and my email was full of blocking emails. It was supposed to block when a visitor or hacker only tries to find non-existent PHP or script pages to exploit vulnerable codes and pages and inject malware/virus.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It
inbox was full of IP-blocking messages

But due to a cache problem a lot of CSS files were missing, it was a plugin error of the cache plugin. So when any visitor was visiting the site a large number of CSS scrips was not found automatically therefore wordfence blocked the visitors.

Let’s share screenshots from my PC to walk you through the process of how I found the issue and solved it:

Step:2

I checked the Wordfence dashboard and found CSS files missing problem led to all IP blocking.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 3:

I visited the website Dakhm.com and found many missing 404 CSS files due to cache problems.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 4:

Then I tried to visit another page of the website, but now Wordfence blocked my IP too like other IPs.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 5:

In this step, I need to unblock myself and login to the website to remove my IP from Wordfence block list. I will be using Filezilla for FTP to change Wordfence plugin’s folder name so that Wordfence plugin is deactivated. In this way, my ip will be unblocked as the plugin itself is deactivated.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 6:

I could log in after deactivating the Wordfence plugin.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 6:

Follow the screenshot below to clear the cache from the wp optimize cache plugin.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 7:

Then go to Cloudways as per the below screenshot, and clear Varnish cache from your server.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It
Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 8:

Then go to Cloudflare as per the below screenshot, and clear Everything.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

After clearing all cache I saw there was no missing css files, from chrome inspect element.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Then change Wordfence plugin’s folder to real name with FTP and login to website and activate the plugin, then go to the blocking option and unblock necessary ips, like below screenshot. And you are done.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Share this article if it helps.

If you need help regarding any WordPress/website issues, you can contact me.

Check Most Recent Posts