I know it was answered on all over the internet, but non of this helped me. I looked even here, didnt help me.
I need to have clear urls
I have this url http://localhost/projekt-vb/index.php?page=example
I need address to be like this localhost/projekt-vb/example
I used this
RewriteEngine on
RewriteRule ^([a-z]+)/?$ index.php?page=$1 [L,QSA]
But for me it didnt solve anything. I know its everywhere but nothing help cant someone write me what I am doing wrong. I am getting mad from it
My file tree is :
projekt-vb/
admin/
core/
modules/
template/
cont/
css/
imgs/
example.php
.htaccess
index.php
All those files ?page=example lets say, will be placed in template/cont/