The trend of intelligent vehicles is currently expanding, and a new class of unmanned intelligent vehicles known as wheel-legged vehicles (WLVs) is emerging. WLVs excel in transportation on unstructured terrain by offering a unique combination of the efficiency of wheels on flat ground and the versatility of legs to tackle obstacles. To enhance the locomotion performance of WLVs on unstructured terrains, this paper presents a novel framework for improving their locomotion through nonlinear programming-based (NLP) trajectory optimization and stability control. The framework optimizes the vehicle’s body and wheel positioning while incorporating terrain information and employs a linear rigid body dynamic model for efficient motion planning. The stability control framework combines feedforward control using ground reaction forces with feedback control through joint PD control and utilizes model predictive control (MPC) to adjust the wheel slip ratio to prevent slip on steep slopes. Experimental validation on the real vehicle with torque-controlled wheels demonstrated the capability of driving over a 1 m height with a 30°slope at an average speed of 0.7 m/s and a maximum speed of 1.03 m/s. Our approach also enables the WLV to overcome obstacles, such as inclines, while dynamically negotiating these challenging terrains.