I have a link like this:
<a href="index/pagina=$i"> $i </a>
I wanted the URL to look like this:
index/2
And I'm using .htaccess
like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index?$ index.php [NC,L]
RewriteRule ^index/([a-z0-9-]+)/?$ index.php?pagina=$1 [NC]
</IfModule>
Where is the problem?