Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

Is there an easy way to convert a php site to html without having to recreate each page manually?

 

Been asked to convert a site done by a web designer to html so can be brought in house for updaing.

Posted
wget will grab the pages but you will need to correct all the links yourself
Posted
Is there an easy way to convert a php site to html without having to recreate each page manually?

 

FTP the site onto local server to grab resources such as images etc and to get site folder structure.

 

Then just view the source for each page and save it as an html file?

 

A bit manual but simple to do - just need to keep the file names/folder structure the same and you should end up with something close to original as long as it doesn't have too many fancy features.

 

Could you post a link to the site in question?

 

regards

 

Simon

Posted

you could recursively wgt the pages

GNU Wget

 

but really there should be no need, the point of php is that it can dynamically create html, pulling information form various sources - making things easier to maintain.

I suspect it will be easier in the long and short term to get your web designer familiar with php.

Posted
so can be brought in house for updaing.

Surely just teach/find someone to modify the php?

 

If there's nothing so complex there that it will break when made non-php, then I would be very surprised if there was anything that someone with html knowledge couldn't figure out with a couple of hours on php.net . Why dumb down?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...