When I export my QGIS generated shapefile with layers to a web map using qgis2web, the output map is showing repeated number of labels for the same layers. In my QGIS desktop, the label appears only once for each layer but once exported into a map, it shows multiple labels for the same layer. How can I solve this issue?
This is probably because your layers use multipart geometry. I'm afraid it's a limitation of the labelling techniques available in the webmapping libraries to which qgis2web exports that mean there is no solution for this yet.
The workaround is a hack. Turn off labelling on your layer. Add another point layer to your project, and style it with transparent outline and fill. Add a points to this new layer where you want your labels to appear. You'll obviously have to add a field for the label text. Turn labelling on on this layer.