Updated pagination links with correct BASE_URL