Rigorous exercise will make hemorrhoids worse. Heavy weight lifting or any physical exercise that will require you to exert, strain, or bear down can cause the piles to swell. By saying so, exercise may worsen the symptoms temporarily, but not permanently.
Walking, on the other hand, doesn’t need you to exert more effort to the extent of straining, and so, it will make your hemorrhoids worse.