e-kiwi a dit:tu peux faire les liens vers le nom de domaine sans la page index (-http://www.tondomaine.tld et non pas -http://www.tondomaine.tld/index.php) comme ça le probleme se pose encore moins ^^
<?
if($_SERVER['REQUEST_URI'] == "/index.php")
{
header("Status: 301 Moved Permanently", false, 301);
header("Location: http://".$_SERVER['HTTP_HOST']."/");
exit;
die("Redirection");
}
?>
➡️ 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