I have nexh .htacces file
RewriteEngine On
RewriteRule ^(.*)\\.(php|html)$ index.php?url=$1 [NC,QSA,L]
and this is working, I can get my $_GET[‘url’]
Now I have links like www.site.com/page/page/page/index.php and with .htacces
I have from GET -> page/page/page/index and this is good
but I need to have in browser same links
I need to send link to browser permanently
and it should be:
www.site.com/page/page/page/index.html
example
if user request link
www.site.com/page/page/page/something
or
www.site.com/page/page/page/something.php
in browser it should get
www.site.com/page/page/page/something.html