Hola,
He intentado generar un robot.txt especifico para https.
Fichero: robot.https.txt
Y me gustaria que cuando alguien accediera a mi web por el httpS viera ese mismo y no el normal de http
He intentado generar un rewrite para reescribirlo y alguna cosa más pero no he sido capaz.
¿Alguien ha conseguido esto o sabe como hacerlo?
Un saludo.
LO RELIZADO:
.htaccess
Código Apache:
Ver originalRewriteEngine On
RewriteCond %{HTTPS} =on
RewriteRule ^robots\.txt$ robots.https.txt [L]
robots.https.txt
Código:
User-agent: *
Disallow: /
Ya me contesto yo.... (perdons)
Código Apache:
Ver originalOptions +FollowSymlinks
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots.https.txt