diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..05e0650 --- /dev/null +++ b/.htaccess @@ -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]