My Web addresses experienced from getting string placed inside them in some way. I believe there can be a bug somewhere but anyway I wish to permanently redirect URL such as this:

to normalcy URL:

Now, I understand that my Web addresses aren't perfect and that i do plan at some point to ensure they are pretty but for the time being this issue should be solved since it makes negative effect on my ranking.

Like a reference, here's a good example that actually works during my atmosphere so perhaps you can test to regulate individuals (since you may notice, I began testing pretty Web addresses, and that i have 150 of these now, because i made the decision to include them progressively. Which means this below does the secret of redirecting of individuals which had recently been made pretty):

    RewriteCond %{THE_REQUEST} ^[A-Z]+\ /prikazi\.php\?(([^&\ ]+&)*)firma=Eko\-Invest\+d.o.o.((&[^&\ ]+)*)\ HTTP/
RewriteRule ^prikazi\.php$ [R=301,L]