Permalink problems after migrating to live host

I created a site on local by flywheel version 5 and had no trouble transferring it to version 3. however, when I’ve tried totransfer either from version 5 to my live website hosting or version 3 to my live website hosting there seems to be a conflict with the permalink settings. The only permalink settings that will work and the live site is Page ID. If I switch over to post name then the live host cannot find any of the pages other than the static home page. The live host runs Apache. Neither the local server nor the live server use htaccess to change permalinks from what I can tell.