That’s a very _ideological_ definition of ideology.
Ideology is any system of ideas or beliefs, period. That goes for the good ones as well as the bad.
Your description is just defining “someone else’s ideology”. Obviously you wouldn’t defend your own ideology with insults, censorship and threats.
The right way is to teach about philosophy (and the many different philosophies) and the merits in using argumentation based on reasoning and understanding of the topic, as well as becoming aware of fallacies and bad faith discussion.
This is a distorted and negative interpretation of the word "ideology". Please try not to misuse the word pejoratively, as anti-idealism, being itself an ideology, places you in a somewhat paradoxical stance. :)
Many ideologies are positive, humanistic and rest on rational well argued and widely accepted values.
Here is a fairly neutral explanation of the word "ideology" with some examples to help you appreciate its scope [1].
[1] https://examples.yourdictionary.com/ideology-examples.html
Without criticism and challenge by other ideological belief systems, mainstream liberal ideology can easily fall into things like Lysenkoism in the Soviet Union. That was a politically enforced non-belief in genetics in plants. Lysenko believed for example that plants could change species by being exposed to cold temperatures. Stalin was a fan, so everyone that criticized Lysenko was persecuted until finally the Soviets came to their senses after years of poor agricultural performance and failed experiments. There are a lot of these types of ideologically unquestionable beliefs in the west. That you probably already know what they are shows how deep and obvious the defects are.