Using href instead of pathname