rewrite adress url
Добавлено: 18 ноя 2018, 22:14
Hi
I would like to rewrite the page address
from so
http://localhost/Testcerca2/cinema.php?id=1
like that
http://localhost/Testcerca2/Lana Turner
.htaccess code
I would like to rewrite the page address
from so
http://localhost/Testcerca2/cinema.php?id=1
like that
http://localhost/Testcerca2/Lana Turner
.htaccess code
<IfModule rewrite_module> #RewriteEngine On #RewriteCond %{REQUEST_URI} !cinema\.php [NC] RewriteRule ^([^/]+)(.*)?$ cinema.php?id=$1 [L] #RewriteRule ^([^/d]+)/?$ Testcerca2/cinema.php?id=$1 [QSA] </IfModule>