Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 12th Apr 2012, 03:52 PM   #1
Warrior Member
 
Join Date: 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Using Old php files in Wordpress
Share on: 
fb share twitter share gplus share more share

I have a very old website with hundreds of articles saved as php files that we're converting to wordpress.

As a test, I created a folder and uploaded a php file.

I created a page in wordpress 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 the php file to display on a webpage like every other webpage on my site.

Any help?
Bean
GerryBean is offline  
Unread 12th Apr 2012, 04:25 PM   #2
Linux Geek
War Room Member
 
Stuart Macfarlane's Avatar
 
Join Date: 2010
Location: United Kingdom
Posts: 228
Thanks: 93
Thanked 51 Times in 42 Posts
Default
Re: Using Old php files in Wordpress
Share on: 
fb share twitter share gplus share more share

If you can provide a sample of the source found within one of these PHP files I may be able to recommend a method to import them.

Simple opening them will not work since Wordpress will need to have the contents imported as a Post or Page and stored within its database with a valid title and ID.

Kind Regards,
Stuart Macfarlane
Stuart Macfarlane is offline  
Unread 12th Apr 2012, 07:40 PM   #3
HyperActive Warrior
War Room Member
 
Join Date: 2012
Posts: 103
Thanks: 1
Thanked 12 Times in 11 Posts
Default
Re: Using Old php files in Wordpress
Share on: 
fb share twitter share gplus share more share

Originally Posted by Stuart Macfarlane View Post

If you can provide a sample of the source found within one of these PHP files I may be able to recommend a method to import them.

Simple opening them will not work since Wordpress will need to have the contents imported as a Post or Page and stored within its database with a valid title and ID.

Kind Regards,
Stuart Macfarlane
Agree^^^ Why not just copy/paste the contents in to WP via the editor when viewing the old PHP files? I understand there are hundreds, but what you are after may not be possible.

BlueLayerHost - Shared + Managed VPS Hosting
BlueLayerMedia - Web Development
WPMalware - Resource for WordPress Seurity + Exploits
BlueLayerHost is offline  
Closed Thread


Bookmarks

Tags
files, php, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:05 AM.