EE+Letsencrypt+Robots.txt+301 redirect


#1

Hi, i have a problem regarding one of my sites.

if i try to access my site using normal http, on http://legmedgarn.dk then i am successfully redirected directly to the https connection on https://legmedgarn.dk

but here is the problem with this…

When google tries to index my http site http://legmedgarn.dk it tries to access http://legmedgarn.dk/robots.txt… but when this page is entered nginx sends a 301 redirect back to google, informing that robots.txt has been relocated to https…!

Google will then fail indexing my site, because it will not follow the redirect…

How can i fix this ?

i created the site using “ee site create legmedgarn.dk --wpfc --letsencrypt”, and have not modified any configuration files afterwards…


#2

You should go to Google Webmaster Tools and configure your property to use https only.


#3