In this paper, two traffic grooming approaches based on alternate path routing are proposed to accommodate a greater number of connections in optical networks. In the first approach (called as Source_SWG), the connections of same source and different destinations along a path are groomed in a wavelength channel, whereas in the second approach (called as Des_SWG), the connections of the same destination and different sources along a path are groomed in a wavelength channel. These approaches are compared with existing heuristic traffic grooming algorithms based on fixed routing. It is found that both the approaches provide less wavelengths than the existing heuristic traffic grooming algorithms for establishment of all the connections present in the network. The comparative studies of these approaches are also made under restricted shared protection. It is seen that in case of Source_SWG, the number of wavelengths required for establishment of all the connections present in the network is less than that for Des_SWG.