By kowalke on
I'm trying to copy a site from subdomain1.site.com to subdomain2.site.com, but aside from the index page I get a Not Found error on the new site. I'm using Drupal 4.7.
I assume there's something really basic I'm missing. Here's what I did:
1) exported the DB with phpmyadmin and imported it into the new DB.
2) Copied the files to the new location.
3) Changed sites/default/settings.php to point to the new DB.
Now I get the site's index page fine, but everything else comes up Not Found.
This feels like something really silly that probably is in the handbook somewhere, but I didn't see anything. Sorry if I missed it.
-Peter
Comments
Did you also change the
Did you also change the $base_url to the new one in settings.php?
---------
Edit: Scrap that... this is not necessary for a subdomain, only for a subdirectory...
You should only make sure that an old $base_url is not still there.
Edit 2: Also check whether your .htaccess has been copied. It could have been left out because it is hidden.
You nailed it
It was the .htaccess problem. It didn't get included when I copied files (a poorly constructed cp command when I was tired).
Thanks for the help.