Using the reductive perturbation technique, a cylindrical and (or) spherical Korteweg – de Vries (KdV) equation is derived for a dust-ion acoustic solitary wave (DIASW) in an unmagnetized dusty plasma, whose constituents are adiabatic ion fluid, nonextensive electrons, and negatively charged static dust particles. The solution of the modified KdV equation in nonplanar geometry is numerically analyzed. The change of the DIASW structure due to the effect of the geometry, nonextensive parameter, dust density, and ion temperature is investigated by numerical calculation of the cylindrical and (or) spherical KdV equation. It is found that both compressive and rarefactive type DIA waves are obtained depending on the plasma parameter.