Static export of Drupal site
October 14, 2014
, posted under
drupal
mod-rewrite
static site
wgetI’ve exported this site from Drupal using wget to create a static html version like
wget --mirror -p -e robots=off --base=./ -k -P ./ http://localhost/
Then rsync to the server and use mod rewrite to retain the paged links like frontpage?page=4
Can't login to Drupal (404)
April 25, 2012
, posted under
drupal
apache
mod-rewriteI’ve been working on a project for a while on my main dev machine, but needed to run it on my laptop too.
Usually copying a site across is quick but this time I re-installed the OS too, everything went OK except for some reason I couldn’t log in to my drupal site.
Eventually I noticed that while the site appeared to be working, every page was being served with a 404 header.