J'ai tenté de modifier mon .htaccess, mais je me suis retrouvé avec une erreur 404 sur toutes les pages de mon site.
Maintenant, même en revenant en arière, je ne parviens à réparer mon site.
J'ai du 404 partout même avec la configuration initiale e mon .htaccess qui fonctionnait avant.
Voici comment est codé mon .htaccess :
Code:
#Options +FollowSymlinks
RewriteEngine on
#Album photo
# http://www.votresite.tld/article.php?numero=8125&page=1
# http://www.votresite.tld/article.php?numero=8125&page=2
# on veut que ça devienne
# http://www.votresite.tld/article-8125-1.html
# http://www.votresite.tld/article-8125-2.html
# pour cela on fait
# RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ article.php?numero=$1&page=$2 [L]
#RewriteRule ^/index.html$ http://127.0.0.1/index.php [L]
#RewriteRule ^index\.html$ /index.php [L]
#RewriteRule ^(fr|en|es)/(.*)\.html$ $2\.php?lang=$1 [L]
#RewriteRule ^mess-reception-env-([a-z]+)\.html$ mess-reception.php?mess=$1 [L]
RewriteCond %{REQUEST_URI} /$
RewriteRule .* %{REQUEST_URI}index.php [R,L]
RewriteRule ^index-([0-9]+)\.html$ /index.php?err=$1 [L]
RewriteRule ^index-([a-zA-Z]+)\.html$ /index.php?action=$1 [L]
RewriteRule ^mess-reception-ecrire-([a-z]+)-([0-9]+)\.html$ mess-reception-ecrire.php?action=$1&reponse=$2 [L]
RewriteRule ^mess-reception-ecrire-([0-9]+)\.html$ mess-reception-ecrire.php?id=$1 [L]
RewriteRule ^mess-reception-ecrire-([a-z]+)\.html$ mess-reception-ecrire.php?action=$1 [L]
RewriteRule ^mess-reception-lire-([a-z]+)-([a-z]+)-([0-9]+)\.html$ mess-reception-lire.php?mess=$1&action=$2&id_mp=$3 [L]
RewriteRule ^mess-reception-lire-([a-z]+)-([0-9]+)\.html$ mess-reception-lire.php?action=$1&id_mp=$2 [L]
RewriteRule ^mess-reception-([a-z]+)\.html$ mess-reception.php?mess=$1 [L]
RewriteRule ^profiladh-logement-etudiant-([0-9]+)-([a-zA-Z0-9.-]+)\.html$ profiladh.php?id=$1&show=$2 [L]
RewriteRule ^profiladh-logement-etudiant-valide-([0-9]+)-([a-z]+)\.html$ profiladh.php?id=$1&valide=$2 [L]
RewriteRule ^profiladh-logement-etudiant-([0-9]+)\.html$ profiladh.php?id=$1 [L]
RewriteRule ^crecli01-inscription-etape-1-([a-z]+)-([a-z]+).html$ /crecli01.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli01-registrar-paso-1-([a-z]+)-([a-z]+).html$ /crecli01.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli01-subscribe-step-1-([a-z]+)-([a-z]+).html$ /crecli01.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli02-inscription-etape-2-([a-z]+)-([a-z]+).html$ /crecli02.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli02-registrar-paso-2-([a-z]+)-([a-z]+).html$ /crecli02.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli02-subscribe-step-2-([a-z]+)-([a-z]+).html$ /crecli02.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli03-inscription-etape-3-([a-z]+)-([a-z]+).html$ /crecli03.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli03-registrar-paso-3-([a-z]+)-([a-z]+).html$ /crecli03.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli03-subscribe-step-3-([a-z]+)-([a-z]+).html$ /crecli03.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli04-inscription-etape-4-([a-z]+)-([a-z]+).html$ /crecli04.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli04-registrar-paso-4-([a-z]+)-([a-z]+).html$ /crecli04.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli04-subscribe-step-4-([a-z]+)-([a-z]+).html$ /crecli04.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli05-inscription-etape-2-([a-z]+)-([a-z]+).html$ /crecli05-etape02.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli05-subscribe-step-2-([a-z]+)-([a-z]+).html$ /crecli05-etape02.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli05-registrar-paso-2-([a-z]+)-([a-z]+).html$ /crecli05-etape02.php?type=$1&modifcoord=$2 [L]
RewriteRule ^crecli04-afficher-photo-([a-zA-Z0-9.-]+).html$ /crecli04.php?show=$1 [L]
RewriteRule ^crecli05-etape02-([a-z]+)-([0-9]+).html$ /crecli05-etape02.php?action=$1&id_des=$2 [L]
RewriteRule ^contact-([a-z]+)\.html$ contact.php?abus=$1 [L]
RewriteEngine on
# Mode maintenance
RewriteCond %{REMOTE_ADDR} !^123\.123\.123\.123
RewriteCond %{REQUEST_URI} !^/maintenance.php [NC]
RewriteCond %{REQUEST_URI} !^/style/style.css
RewriteCond %{REQUEST_URI} !^/images/.*
RewriteRule .* /maintenance.php [L]