telcha73
11/09/2012, 22h53
a oui je vois le pb est que la page monsite.com/index.html n'esxiste pas pour l'instant. Y a t il moyen de modifier le htaccess pour rendre la redirection visible ?
Options -Indexes
Options -Multiviews
Options +FollowSymLinks
SetEnv REGISTER_GLOBALS 0
SetEnv PHP_VER 5
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/chalet1/fr
RewriteRule ^(.*)$ chalet1/fr/$1
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title> xxxxxx title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="xxxxxx ">
<meta name="keywords" content="xxxxxx ">
<meta http-equiv="refresh" content="0; url=http://www.monsite.com/chalet1/fr/">
head>
<body>
body>
html>
header('HTTP/1.1 301 Moved Permanently');
header('Location: http://www.monsite.com/chalet1/fr/');
?>