.php'yi .html yapmak
Tarih: 29.06.2006, 09:29
Bu normal phpbb için değildir, kendi php ile tasarladığınız sitelerde bunu kullanabilirsiniz. Bende sorunsuz çalıştı.
.htaccess
[syntax="apache"]RewriteRule ^(.*).html-(.*)-(.*)-(.*)-(.*)-(.*)-(.*) /$1.php?$2=$3&$4=$5&$6=$7 [NC]
RewriteRule ^(.*).html-(.*)-(.*)-(.*)-(.*) /$1.php?$2=$3&$4=$5 [NC]
RewriteRule ^(.*).html-(.*)-(.*) /$1.php?$2=$3 [NC]
RewriteRule ^(.*).html-(.*) /$1.php?$2 [NC]
RewriteRule ^(.*).html /$1.php [L] [/syntax]
.htaccess
[syntax="apache"]RewriteRule ^(.*).html-(.*)-(.*)-(.*)-(.*)-(.*)-(.*) /$1.php?$2=$3&$4=$5&$6=$7 [NC]
RewriteRule ^(.*).html-(.*)-(.*)-(.*)-(.*) /$1.php?$2=$3&$4=$5 [NC]
RewriteRule ^(.*).html-(.*)-(.*) /$1.php?$2=$3 [NC]
RewriteRule ^(.*).html-(.*) /$1.php?$2 [NC]
RewriteRule ^(.*).html /$1.php [L] [/syntax]