I have a friendly link that would be localhost/artists/nome-do-artista/
, however I want to create pages within it eg Biography. localhost/artists/nome-do-artista/biography
, only that my htaccess does not allow, how to solve?
I'm using:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php [NC,QSA]
In artists/index.php
is doing a query in the database with name of the artist thus getting the link: artists/nome-do-artista
.
But when I create artists/nome-do-artista/biography
it looks for the main index that would be: artists/nome-do-artista
.
I hope you understand, if you can help me, I'm flattered.