score:1

Accepted answer
<link to="/addhouse" classname="nav-link">add house</link>

/addhouse absolute routing; this will replace the pathname of url with /addhouse.

but you are adding something to end of current url by using ./addhouse ( i.e. relative routing )


Related Query

More Query from same tag