I want to download a website that uses php to generate its pages. If I use
wget --convert-links --mirror --trust-server-names the_website.com
the php files are downloaded as php files. When I open the webpage locally, FF gives me a popup box asking whether I want to open the php file of a page with gedit.
Is there any way to download a full web page as plain html so that I can access them in a browser locally?
Best Answer
Alternatively, you can force
wget
to rename every extension to HTML on download with the--adjust-extension
/-E
flag: