Fixing duplicate pages HTTPs and HTTP
-
So I have tried multiple times to fix this issue, however Ahrefs keeps showing me an error related to have duplicate pages which is the same page, but one under HTTP, and the other under HTTPS.
I currently have 2 robots.txt files setup, one for the http, and the other for https.
The HTTP one looks like this:
#Robots.txt for HTTP
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-content/plugins/
Disallow: /readme.html/Then the HTTPS one looks like this
#Robots.txt for HTTPS
User-agent: *
Disallow: /If I have this setup, the HTTPS pages shouldn’t be seen right?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Fixing duplicate pages HTTPs and HTTP’ is closed to new replies.