You're missing something, and your description does not make sense to me. You need the case to be grounded, the red wire going to the battery, and the two wires to the plug connected.
Did you splice the yellow and red wires together in the dash?
How do you know the alternator is not charging?
It does not matter how the red wire gets to the battery. It can go through the ammeter, or go to the battery directly. Won't change anything. Does not affect how the alternator charges.
AlternatorWiring1979Jeep.png
You can see the large red wire here, circuit 12 that's 10 gauge. The two additional wires are red, and brown which is a resistance wire. These terminals are labeled "1" and "2" - look at the section in the TSM about the charging system. It shows a picture with "battery terminal", "1" and "2".
The red wire is "2" and senses the battery voltage. Call this the "sense wire." It connects to the battery at the solenoid post. On Jeeps that come with a voltmeter, it loops right back to the big red wire and is only a few inches long. It senses the battery voltage. You need it to be connected to the battery.
"1" is the small brown wire comes from the ignition switch. Call this the "exciter wire." It's a nichrome resistance wire, like the wire elements in a toaster oven. That connection is needed to make the alternator start charging.
The alternator needs electrical current to make more current. When operating, it takes part of the current that it produces and feeds that back to its field coils (the rotating part of the alternator). More current it feeds back, the higher a voltage it produces.
The voltage regulator senses the battery voltage via the small red sense wire and controls the current fed back to the field. The wire from the ignition switch provides a trickle of electricity to bootstrap the alternator.
Usually if you spin the alternator fast enough, the residual magnetism in the laminations (lams, steel plates that the alternator coils are wound around) will make enough current to bootstrap the alternator. But it has to spin fast, and there's no guarantee.
The nichrome wire has enough resistance so that the alternator gets the trickle it needs to bootstrap, but the trickle is small enough to stop backfeed into the ignition switch and power the ignition when the engine is shut off.
You do not have the required permissions to view the files attached to this post.