add .htaccess file

This commit is contained in:
Beu 2019-10-23 17:04:42 +02:00
parent f27d42a92a
commit 8bd7a057f0

11
.htaccess Normal file
View File

@ -0,0 +1,11 @@
RewriteEngine on
#Local files
RewriteRule ^index.php.*$ - [L]
RewriteRule ^favicon.ico$ - [L]
RewriteRule ^script.js$ - [L]
RewriteRule ^style.css$ - [L]
RewriteRule ^([0-9]+)([0-9]+)?([0-9]+)?([0-9]+)?([0-9]+)?$ index.php?id=$1 [L]
RewriteRule ^(.*)$ /index.php?name=$1 [L]