ber- prefix creates a verb from the base word.
It's fascinating to me that "berdiri" means 'stand up', but "diri" means 'self' or 'ego'
There are two different 'diri', two different base words :
That's one definition of 'diri'.
'berdiri' is not derived from this base word.
This is the other 'diri':
This base word is not used on it's own, it's only used in the derived form.
'berdiri' is derived from this base word.
Here is another KBBI link, with the definitions on one page:
Check the entries mentioned as "Kata Turunan" (derived words):