• Post last modified:August 31, 2022
  • Reading time:5 mins read

Site down or unavailable problem solved for WordPress Websites

If you have applied for AdSense and AdSense rejected your site for the reason that your site is not ready to show ads Site Down or Unavailable or maybe AdSense would say Your site is unreachable. You may  get the following message from AdSense:

Note: If your site is on Blogger: Click here to Solve this AdSense Issue.

Site down or unavailable WordPress

We found that your site was down or unavailable. We suggest that you check your application to see if there was a typo in the URL that you submitted. When your site is operational, you can resubmit your application. We’ll be happy to take another look at your application.

If you are unable to solve this problem then you are in the right place. In this post, I will tell you how you can solve this Site Down or Unavailable issue for the WordPress website. Please read all the points very carefully.

Below I have mentioned some factors which may be the cause of this problem. Check all the factors carefully and correct them if you find one.

Reasons for that AdSense Says, Site Down or Unavailable for WordPress

Sitemap: Make sure you have submitted the sitemap in Google Search Console and your site is indexed in Google. If you have installed the Yoast SEO plugin which automatically creates an XML sitemap for your site, you just have to submit the URL of the sitemap (sitemap_index.xml) to Google Search Console.

robots.txt: Make sure you have created a robots.txt file and inserted it into your site. To check robots.txt, type robots.txt ahead of your site URL and hit enter button (e.g. – example.com/robots.txt). If you have not created it by yourself then you may find two or three lines of default robots.txt of WordPress.

robots.txt using Yoast: Below I have given a robots.txt that can be applied to any WordPress website. To insert it in your site, Go to the WordPress dashboard, Click on SEO (Yoast SEO), Click on tools, Click on File editor, Copy this robots.txt and paste there and click on ‘Save changes to robots.txt’.

AdSense friendly robots.txt for WordPress:

User-agent: *
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /index.php
Disallow: /xmlrpc.php
Disallow: /comments/feed/
Disallow: /archives/
Disallow: /preview/
Disallow: /author
Disallow: /refer
Disallow: /linkout/
Disallow: /profiles/
Disallow: /search

User-agent: Mediapartners-Google*
Allow: /

User-agent: Googlebot-Image
Allow: /wp-content/uploads/

User-agent: Googlebot-Mobile
Allow: /

User-agent: Adsbot-Google
Allow: /

Sitemap: https://www.example.com/sitemap_index.xml

Note: Don’t forget to replace example.com with your domain name in the above-given robots.txt.

robots.txt for WordPress
robots.txt for WordPress

Most important: This is also very important that your site MUST automatically redirect from HTTP (http://example.com) To HTTPS (https://example.com). This is very important for AdSense approval.

Your site MUST also be able to redirect from non-www (https://example.com) to www (https://www.example.com) or Vice versa, Even if you don’t use www as a prefix with your domain still it should be able to redirect the www prefix to non-www or vice versa.

Also read: Redirect your WordPress website from HTTP to HTTPS without any plugin.

Your site should not have any broken links, find broken links, and remove them from your site.