I run a few sites and one client mentioned that their web traffic has gone down and that their home page is no longer listed on Google.
The site has been running for 10 years with no issues.
I added an SSL certificate recently and using web.config file I set it to re-direct.
In search console there was only http listed so I added https and then tried to submit a sitemap.xml file but it keeps saying 'can't be reached' even though you can see it fine in the browser. Also when I try and run Mobile Friendly test it says 'Page cannot be reached - This could be because the page is unavailable or blocked by robots.txt' even though robots.txt lets everything through. I'm baffled by this and it is affecting their ranking.
Can anyone advise what it could be?
You can see in the image that the problems started recently and that the home page is listed as Excluded and 'currently not indexed'. No idea why.
Could it be the re-directing of http / https?
This is the web.config file setup
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Custom">
<remove statusCode="404" />
<error statusCode="404" path="/404.asp" responseMode="ExecuteURL" />
</httpErrors>
<rewrite>
<rules>
<clear />
<rule name="Redirect to https" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_SSLSESSIONID}" pattern="^$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>