'301 redirect htaccess to right URL

I would like to redirect újdonságok-c-1.html to ujdonsagok.

The .htaccess file is now:

RewriteRule ^újdonságok-c-1.html ujdonsagok [R=301,L]

The problem is: the content of ujdonsagok.html appears well, but the URL is the old one, újdonságok-c-1.html

So the content is new but the URL is old. And also the same time the new ULR arrears with the new content.

What could be the problem?

Thank you in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source