Since allegiance is based on number of jumps from your capital, it makes sense to locate your capital in a central spot where you minimize the total jumps. However, your capital starts off in a corner of a solar system, which is far from ideal later in the game. Moving your capital is relatively cheap and will pay for itself extremely fast in extra credits and resources from higher allegiance in a big empire. A jump from one solar system to another counts as one jump so if you put your capital connected to the star, any planet connected to another star will be 3 jumps away and you can expand throughout the galaxy without huge allegiance penalties. You also get a nice temporary boost because allegiance goes up around your new capital faster than it goes down around your old one. In my most recent game, a capital change increased my revenues by about 40% (around 20 planets).
Just thought I'd share this because it wasn't immediately obvious to me and I haven't seen anyone else mention it.