For an integer
, an
‐labeling of a graph
is a function
from its vertex set to the non‐negative integers such that
if vertices
and
are adjacent, and
1 if
and
are at distance two. The minimum span over all the L(
,1)‐labelings of
is denoted by
. For a given integer
, the edge‐path‐replacement of
or
is the graph obtained from
by replacing each edge with a path
on
vertices. We show that the edges of
can be colored with
colors so that each monochromatic subgraph has maximum degree at most 2 and use this fact to establish general upper bounds on
for
. As a corollary, we settle the following conjecture by Lü (J Comb Optim, 2012): for any graph
with
2,
+ 2. Moreover,
when
is even and different from 2. We also show that the class of graphs
with
4 satisfies a conjecture by Havet and Yu (2008 Discrete Math 308:498–513) in the related area of (
)‐total labeling of graphs.