Is it possible to cause after install the let's encrypt makes the website beginning without https redirect to the homepage?


Hello, everyone, is there any possibility to install the let’s encrypt and start it, it will cause the original http URL, after submitting to the google sitemap some https of the URL is missing (as shown below), the link will automatically lead back to the home page. Does let’s encrypt have the function to return the wrong link in the domain to the home page?


I’m using this for nginx
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
location ^~ /.well-known/acme-challenge/ {
default_type “text/plain”;
root /var/www/challenge;
location / {
return 301 https://$host$request_uri;
and for apache,


Hi @momodan

it’s Googles decision how to present the result. And I don’t understand your question.

Google shows that the site is secure. That doesn’t mean that all links go to the root.

That’s a thing of Google, not of Letsencrypt or another CA.


It’s hard to understand this for sure without knowing your domain name. But I agree with @JuergenAuer that Google controls how results are presented on Google.

It seems like it’s confusing that Google is returning any HTTP links to your site after you’ve added redirects from HTTP to HTTPS on your web server, since Google should also be following those links. So maybe Google has just not crawled your full site since you added those links? I assume that it takes some time after uploading the sitemap before the new crawl happens and before it’s reflected on the Google search.

If you go to one of those HTTP result links in your browser, do you get redirected to HTTPS correctly? If so, it’s probably just a delay on Google’s part in updating its own database.


Here is a reason why Google won’t show the https links:
When the redirects fail to show the correct content searched for.
[Like: When all http URLs are being forwarded to the plain https root.]
[ >301>]

But, as others have said, without more information (like a sample URL or domain name), it is impossible to give you any accurate information nor good advice.


Because the situation occurs after I install Letsencrypt and submit the sitemap, and there is no 301 redirect software installed on my host, so the system should not automatically redirect invalid URLs, so I will guess if Letsencrypt will be invalid. URL-oriented home page feature setting

No, all URLs without http or https at the beginning are directed to the home page. Only URLs that display https will link properly.。
I have installed Letsencrypt for almost two weeks, submitted a new sitemap and deleted the old sitemap for almost a week. I don’t know if the speed of google updates is so slow.

This is my website Sincerely hope that you can visit and provide your opinion. thank you very much


I have added a new sitemap after deleting the old sitemap, so it should not link to the new URL error. And I don’t have any 301 redirect software installed on my host.So, the system should not automatically redirect invalid URLs.

This is my website Sincerely hope that you can visit and provide your opinion. thank you very much


Hi @momodan

first, your nameserver entries are inconsistent ( )

Host T IP-Address is auth. ∑ Queries ∑ Timeout A yes 1 0
AAAA yes Name Error yes 1 0 A no

There are two ip addresses, one authoritative, one not. Perhaps that’s only a time problem.

There are different http status:

K, Status 404, Status 302
configuration problem - different ip addresses with different status
K, Status -14, Status 200
configuration problem - different ip addresses with different status

But really relevant:

Domainname Http-Status redirect Sec. G 302 0.657 A 404 0.487 M
Not Found -14 10.023 T
Timeout - The operation has timed out 200 5.630 B 302 0.613 A 404 0.484 A
Not Found

http + has a wrong redirect - redirects wrong to

Checking your site manual, there is the same wrong redirect:

D:\temp>download -h
Content-Length: 147
Content-Type: text/html; charset=UTF-8
Date: Sun, 17 Feb 2019 16:52:59 GMT
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET

Status: 302 Redirect

805,00 milliseconds
0,81 seconds

D:\temp>download -h
SSL-Zertifikat is valide
Link: <>; rel="",<>; rel=shortlink
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/8.5
X-Powered-By: PHP/5.5.38,ASP.NET
Date: Sun, 17 Feb 2019 16:53:18 GMT
Content-Length: 26823

Status: 200 OK

3958,10 milliseconds
3,96 seconds

http has a wrong redirect to https, but it’s a 302, not a 301.

So check your configuration to find this redirect and fix it. http + /filename -> https + /filename with a 301.


I am so appreciate about @JuergenAuer for doing so many tests for me, it makes me have a direction to fix the problem. May I ask , what are the possibility reasons for the 302 error? Is it the DNS or the server I should modify? If I do as @orangepizza said by modifying the htaccess file , can I solve this problem? Sincerely for your reply.

closed #10

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.