handling metas and breaking down urls