GitHub enterprise short naming

To get <username>.github.io/<username> to change to <username>.github.io, I had to rename the repository from <username> to <username>.github.io.

What is the equivalent thing I have to do for an Enterprise account if my repository is called <username> and the page currently appears as <hostname>/pages/<username>/<username> (Would it change it to <hostname>/pages/<username>?).

Thank you.