For the safe autonomous operations of unmanned aerial vehicles (UAVs) and ground control stations (GCS), including autonomous battery replacement, wireless power transfer, and more, the precise landing of UAVs on GCS is essential. Accurate landing is only possible when the link capacity strength exceeds a certain threshold, but this is often disturbed due to complex terrain. To address this, we developed an extremum seeking (ES)-based radio signal strength optimization (RSSO) algorithm, ES-RSSO, designed to find the optimal positions of the UAV using radio communication signals. This ensures energy-efficient path planning while guaranteeing the minimum received signal strength indication (RSSI) capacity. This algorithm is particularly useful in obstacle-rich environments, where UAVs are limited in power resources. Simulation results demonstrate a 2.37% decrease in the mean, a 62.08% improvement in variance, and a 3.72% decrease in the integration strength of the link capacity when ES-RSSO is applied. These results confirm that the RADIO.rssi maintenance ability remains above a critical boundary level, supporting robust communication links and energy-efficient path planning. Throughout the study, we showed how, in many cases, simply moving the UAV a few meters can significantly improve the communication link.