You may need to tear open your walls to remove the corpse.
Flies attracted to carpet.
They work great if you have good aim.
Still others congregate near sewage and other filth.
Tie the plastic bag tightly and properly close the trash bin to prevent gnats from getting attracted to the smell and breeding inside the trash can.
Moths are attracted to moisture in spills and perspiration as well as food traces.
According to pest control company orkin different types of flies are attracted to different substances and materials.
Carpet beetles are often attracted to light and warmth indoors.
However blow flies are only attracted to fresh carcasses so they don t stay very long.
We purchased some fly swatters a couple of years ago.
Moths are different from flies and from your question i will assume you actually have flies on your carpet.
These bugs lay eggs in soil where conditions are moist and there is decaying matter to feed upon.
Some species may infest seeds cereal pet.
House and blow flies lay eggs in animal manure so dispose of pet particularly dog waste frequently.
Phorid flies are often the first pest drawn to these corpses followed by other scavenger insects such as carpet beetles mites and other flies.
Flies are attracted to light.
Avoid using rat poison to kill rodents because the carcasses can attract flies.
Gnats are also attracted to decaying organic material wheres fruit flies only feed on produce.
Clean up animal feces such as in a cat s litter box right away.
Flies are attracted to food so i further assume that there is some food material solid or liquid resident in the pile.
If you have a lot of blow flies in your house there may be a dead animal trapped in your walls.
The flies will go down into the jar drink the solution and become poisoned and trapped in the jar.
Remove rotten or overripe fruit from the kitchen dispose of all organic foods outside.
Get a fly swatter.
Eliminating and preventing phorid flies.
It is wise to begin looking at the first appearance of phorid flies before the corpse can begin emitting an unpleasant smell.
This works best for fruit flies because they are attracted to the fermented apple smell.
Clean up pet or livestock feed to keep house and stable flies away.
Often they ll just fly inside your home but can also get inside on pets or clothes.
Ensuring that you vacuum thoroughly around the edges of room and under furniture is imperative as moths will thrive in undisturbed areas.
For information on carpet moth treatment please click on this link.