Help with .htaccess


I have this code to make url friendly

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteRule ^index\.html?$ / [NC,R,L]
RewriteCond %{THE_REQUEST} ^.*/index\.php 
RewriteRule ^(.*)index.php$ /$1 [R=301,L] 
RewriteRule ^([a-z_0-9,\/]*)/?$ index.php [nc,l]


So far on a private server it went without problems, but now I have migrated the server to 1 & 1 and that code does not work.

What am I doing wrong? The error it gives is 404 page not found

asked by Killpe 13.11.2018 в 19:59

0 answers