The Noble Prize in physics 2016 motivates one to study different aspects of topological properties and topological defects as their related objects. Considering the significant role of the topological defects (especially magnetic strings) in cosmology, here, we will investigate three dimensional horizonless magnetic solutions in the presence of two generalizations: massive gravity and nonlinear electromagnetic field. The effects of these two generalizations on properties of the solutions and their geometrical structure are investigated. The differences between de Sitter and anti de Sitter solutions are highlighted and conditions regarding the existence of phase transition in geometrical structure of the solutions are studied. * Present address: hendi@shirazu.ac.ir † Present address: behzad.eslampanah@gmail.com ‡ Present address: shahram.panahiyan@uni-jena.de § Present address: m.momennia@shirazu.ac.irIn addition, the QCD applications of the magnetic strings [17] and their roles in quantum theories [18] have been investigated before. The stability of the cosmic strings through quantum fluctuations has been analyzed in Ref. [19]. The limits on the cosmic string tension have been studied by extracting signals of cosmic strings from CMB temperature anisotropy maps [20]. The spectrum of gravitational wave background produced by cosmic strings is obtained in Ref. [21]. For further investigations regarding cosmic strings, we refer the reader to an incomplete list of references [22].Domain walls and their evolution in de Sitter universe have been studied in [23]. In addition, the gravitational waves produced from decaying domain walls are investigated in Ref. [24]. The localization of the fields on the dynamical domain wall was investigated and it was shown that the chiral spinor can be localized on the domain walls [25]. For further studies regarding this class of topological defects, we refer the reader to Ref. [26].On the other hand, considering most of physical systems in nature, one finds that they exhibit nonlinear behavior, and therefore, the nonlinear field theories are of importance in physical researches. There are many motivations for studying the nonlinear electrodynamics (NED) such as; (i) These theories are the generalizations of Maxwell field and reduce to linear Maxwell theory in the special cases (weak nonlinearity). (ii) These nonlinear theories can describe the radiation propagation inside specific materials [27]. (iii) Some special NED models can describe the self-interaction of virtual electron-positron pairs [28]. (iv) Theories of NED can remove the problem of point-like charge self-energy.(v) From the standpoint of quantum gravity and its coupling with these nonlinear theories, we can obtain more information and deep insight regarding the nature of gravity [29]. (vi) Compatibility with AdS/CFT correspondence and string theory are other properties of NED theories. (vii) NED theory improves the basic concept of gravitational redshift and its dependency of any background magnetic field as compared to ...