Can you copy the content into posts or pages on your WP install? It’s the simplest solution.
We started down that path with very good success but the number of files is VERY extensive and there’s limited resources to make that all happen..
I’m looking for a way to upload all the php files (from a backup) to the appropriate folders in wordpress then just bring them up via links.
WordPress stores content in its database – not within .php files.
Understand that.
I have a boatload of articles stored as .php files.
I want to upload those articles/php files into a newly created ‘articles’ folder.
I then want to have a link on a webpage that brings up that article from within that folder so it displays on a webpage within my website.
That would work getting the files where they need to be but I’m not still convinced that a php file would display properly within my wordpress template.
Just as a test, I created a folder and uploaded php file.
I created a webpage with a link to that php file.
The php file came up just fine but not within the wordpress template.
I’m looking for a way for it to look like every other webpage on my site.
You’d have to use some sort of plugin to include php scripts right into your posts/pages. I’ve used PHP SNIPPETS with some success. Basically you upload all your php files to a ‘snippet’ directory I believe its called and you can call those files within a post/page using short code. Pretty easy and the support docs are decent.