diff --git a/.htaccess b/.htaccess index 2b8877ec..e9850449 100644 --- a/.htaccess +++ b/.htaccess @@ -39,8 +39,10 @@ Options -Indexes RewriteRule ^ %1 [R=301,L] # ne pas supprimer la ligne URL rewriting ! + # URL rewriting + diff --git a/core/module/config/config.php b/core/module/config/config.php index dbcbc103..a55a2b0b 100644 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -524,12 +524,6 @@ class config extends common // Ajout des lignes dans le .htaccess $fileContent = file_get_contents('.htaccess'); $rewriteData = PHP_EOL . - ' # Enlever le slash final des URL' . PHP_EOL . - 'RewriteCond %{REQUEST_FILENAME} !-f' . PHP_EOL . - 'RewriteCond %{REQUEST_FILENAME} !-d' . PHP_EOL . - 'RewriteCond %{REQUEST_URI} ^(.+)/$' . PHP_EOL . - 'RewriteRule ^ %1 [R=301,L]' . PHP_EOL . - PHP_EOL . '# URL rewriting' . PHP_EOL . '' . PHP_EOL . "\tRewriteEngine on" . PHP_EOL .