RewriteEngine On
RewriteRule ^(.*)\.php$ /kategori/$1.html [L,R=301]