What Can I Do About Squalor in Total War?

This question is specifically for Total War: Medieval 2, but I would imagine it can apply to most, if not all, of the Total War games.
Since I lost my last playthrough to unbelievable squalor in all my cities (50%+ and going up), I have done some extensive research on what creates/prevents it.
I now understand that squalor is created by increased population. It appears that it is also created by a large army sitting in the city. I have deduced that higher taxes will cut down slightly on the population growth, but this really isn't a fix. The only guaranteed way to get rid of it is to move out, let the city rebel, and then exterminate the populace, which I would really rather not do. Other than that, it appears impossible to get squalor to go down. From my understanding, it is impossible to get rid of it entirely.
I have found nothing at all on whether or not any structures/buildings actually prevent or at least reduce squalor. I can't even find anything on which ones create it, though I would imagine it's everything that contributes to population growth. I also have found nothing on what calculates squalor, and how much it goes up each turn, and why.
So here's my question: Squalor: How can I know when it is coming, and is there anything I can do to stop, remove, or slow it?
Best Answer
Squalor is defined by "A filthy and wretched condition or quality". In the game it's the same thing.
It is always present, as it's the game's way of mitigating the maximum ammount of people a given settlement can have, although it can be reduced by increasing the available space by, building a wall upgrade. You can also use character traits like HarshRuler 3 which reduces squalor.
Alternatively you can just let the settlement rebel, take it back and exterminate the populace, and as such with less population, less squalor. In order to prevent it, make it so the settlement's population isn't increasing too rapidly (Up taxes, don't get public order/health buildings, wait for a plague,etc..).
Pictures about "What Can I Do About Squalor in Total War?"



How do you reduce squalor in Medieval 2 Total War?
Actually the way to reduce squalor is to increase taxation. Reducing taxation increases it's rate of growth. By making it more affordable for people to live you encourage population growth which increases squalor. Slowing population growth addresses squalor, so your solution is counter-intiuitive.How do you lower unrest in Rome Total War?
Build happiness bonus temples and arenas throughout your empire. Baths and normal to low tax rates keep down squalor. If you have high population cities giving you trouble just lower taxes, eventually your culture will overtake theirs and you can set it back to normal.WHAT IS SQUALOR AND HOW TO STOP IT - Game Guides - Rome: Total War
More answers regarding what Can I Do About Squalor in Total War?
Answer 2
You cannot reduce it, but from what I understand, you can counteract the negative effects somewhat by upgrading your city with buildings that increase happiness, like churches, entertainment centers, high food supplies,... Something else that also works is relocating your capital to a more central region.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: alleksana, alleksana, Ylanite Koppens, Ylanite Koppens