There are special formulas which are sold at your local Home Depot which will help you soften the glue on rubber backed carpet squares. Don't try to pull it off on your own because it will damage your floors.
try softening it with steam. If you want to expose the wooden floor later on, i wouldn't reccommend any chemicals- they leave deep stains in the wood texture. You can sand off the glue marks, but not chemicals.