Just make sure the flange is flush tight with the top of the floor otherwise your toilet will wobble.
Floor sagging under toilet.
If the subfloor is spongy under your leaking toilet the toilet may have started to wobble and the problem is quickly going to get worse unless you make a fairly major repair.
If the toilet flange the round item that sits under the toilet and connects the toilet to the drain pipe is higher than the floor the toilet becomes raised.
Follow the easy instructions that come with your product being sure to tighten each of the four bolts a little at a time so the rubber gasket goes down evenly around the bend pipe.
Flush it several times to empty if of all water.
Take out the floor bolts at the base of the toilet using a wrench.
Most times the sagging subfloor repair only requires replacing a small area while the flooring itself will have to be totally replaced because you can t match it.
Disconnect the water line using your wrench or pliers.
It goes under the flange and transfers the load of the flange and toilet and you out onto more solid surrounding wood.
The raising of the toilet causes it to rock from side to side.
And cut the floor out and start replaceing with plywood set a skill saw at a deapth that it wil cut through the old floor but not into the joist.
Replacing a wax ring or even the entire toilet is easier than replacing the subfloor under a toilet.
Toilets usually rock because they are not resting flush against the floor.
Underneath the toilet base is a round toilet flange that connects the toilet to the drain pipe.
But if your floor is severely rotted say more than an inch beyond the flange you re stuck replacing the flooring around the toilet.
Then you can start the floor repair and toilet and tub.
Usually the cause of a wobbly toilet is that it is not sitting flush against the floor.