page not found after migrating drupal 7 to dev version same server using drush archive-restore I have tried twice over to migrate a production site to a development version using a different database and although the files are all there and the database is also there I just keep getting a 'Page not found' when browsing to the dev version. I have checked my settings.php file which is pointing to the correct database too.

Here is a list of the process I used:

drush archive-restore /home/username/drush-backups/archive-dump/20120821113939/hampstea_db.20120821_113946.tar.gz default --destination=./hamp-dev --db-url=mysql://username:password@localhost/db_name


Any suggestions? Thanks in advance
A couple of questions:


Are you creating that dev site as a root subfolder of the production site?
If yes, do you get a page not found on the production site OR on the server?


This might be an issue with .htaccess; if you just added dev site to the root of your production website, you might need to add a rule to exclude "/dev".

I think adding this before rewrite conditions for the production site would work:

RewriteRule ^(dev).* - [NC,L]