0
I'm trying to download a wordpress web-site, my blog actually, and to get the php files as well. So far I've tried -
wget -rkp -l3 -np -nH --cut-dirs=1 http://www.sharons.org.uk/
wget -r http://www.sharons.org.uk
wget --user-agent=Mozilla --content-disposition --mirror --convert-links - A php -E -K -p http://www.sharons.org.uk/
but I can't get past the first index.html page.
How can I do it please?
Sorry, it is my website and blog, and I rsync to it, but I'm just trying to learn how to get the php files as well, and get past the just one index.html. – boudiccas – 2014-02-26T13:46:43.723
Ok, i understand, as i try to explain, .php files are never sent to user in RAW form, they are processed by the PHP Hypertext Processor itself. The output is then rerouted to the user. Using wget you behave as an ordinary site user. – Sir.pOpE – 2014-02-26T13:48:36.967