Combine flour, sugar, baking soda, eggs, pineapple, and vanilla.
Fold in chopped pecans and pour the batter into the pan.
Bake for 30 minutes or until a toothpick comes out clean.
Prepare the cream cheese frosting and refrigerate until serving.
Notes
Customize this Pineapple Pecan Cake by swapping pecans for walnuts, pistachios, or coconut flakes to suit your taste. The cake can be stored in the refrigerator for up to 5 days or frozen for up to 6 months (without frosting).