Knieja was formerly part of the German Empire. In the German Empire, the place was called Heidewald.
The place is now called Knieja and belongs to Poland.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Kneja | German Empire | Rosenberg O.S. | 1936 |
| Heidewald | German Empire | Rosenberg O.S. | 1939 |
| Knieja | Under Polish administration | Olesno | 1945 |
| Knieja | Poland | Opole | 1992 |