header http et free

Nouveau WRInaute
bonjour,

j'ai testé une redirection par header puisque par .htaccess ca marche pas chez free, mais je doit avoir raté un truc

voila dans un fichier http://lesitededjails.free.fr/commentaire/livre_dor.php j'ai exclusivement
Code:
<?php
header("Status: 301 Moved Permanently");
header("Location: http://lesitededjails.free/commentaire/index.php");
exit;
?>

si je fait annalyse header et ca donne ca


Code:
HTTP/1.1 301 Moved Permanently
Date: Sat, 16 Oct 2004 17:57:45 GMT
Server: Apache1.3.29 - ProXad [Oct 10 2004 00:52:3
1]
X-Powered-By: PHP/4.3.9RC2
Location: http://lesitededjails.free/commentaire/i
ndex.php
Content-Type: text/html
mais il n'y apas de redirection c'est normal??
 
Nouveau WRInaute
Gromka a dit:
http://lesitededjails.free.fr/commentaire/livre_dor.php

Ça ne marche pas pour moi...

ben c'est justement ca mon problème, je soutaireait une redirection si on pointe sur cette page, qui est référencée sur les moteurs
 

➡️ Offre MyRankingMetrics ⬅️

pré-audit SEO gratuit avec RM Tech (+ avis d'expert)
coaching offert aux clients (avec Olivier Duffez ou Fabien Faceries)

Voir les détails ici

coaching SEO
Discussions similaires
Haut