You cannot do this, as in your example, when you rewrite everything: ^(.*)$ .
If you need two different rules, you will need to choose which URLs you want to write to your final destination.
Example when you rewrite different URLs starting with different lines to different destinations:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^starts_with_this(.*)$ profil.php?upime=$1 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^starts_with_something_else(.*)$ novica.php?nid=$1
source share