Yeah, in that topic the only thing to change is the friendly-url to an user's gallery. But what I want, is that all url's are nice.
Can I do something with this code:
RewriteEngine on
RewriteCond %{REQUEST_URI} !^(.+)/(.+)/(.+)/(.+)([/]{0,1})$
RewriteCond %{REQUEST_URI} ^(.+)/(.+)([/]{0,1})$
RewriteRule ^(.+)/(.+)([/]{0,1})$ index.php?$1=$2
RewriteCond %{REQUEST_URI} !^(.+)/(.+)([/]{0,1})$
RewriteCond %{REQUEST_URI} ^(.+)/(.+)/(.+)/(.+)([/]{0,1})$
RewriteRule ^(.+)/(.+)/(.+)/(.+)([/]{0,1})$ index.php?$1=$2&$3=$4
This code rewrites index.php?b=1&b=2
to:
/b/1/b/2
And
index.php?b=1
To:
/b/1