facut pana la video 7
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
ErrorDocument 403 /404.php
|
||||
ErrorDocument 404 /404.php
|
||||
DirectoryINdex index.php
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
|
||||
|
||||
RewriteCond %{REQUEST_URI} !^/$
|
||||
RewriteCond %{REQUEST_URI} !^/admin
|
||||
RewriteRule .*/ [L,R=301]
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user