Recently I migrated my drupal website from my development PC (Windows 7) to a LINUX as a test before deployment. Apparently, there is a problem during migration. What I did was:
1. Get the dumpfile from the development drupal database for the website
2. Copy the same folder to the LINUX terminal.
3. Construct the same database using the dumpfile. The amount of tables generated is same as the one in development PC.
4. Replace the settings.ini in the drupal folder in LINUX terminal.
5. Run the drupal installation setup again, with the flag set to TRUE in the settings.ini
The website initial page runs good..but when I click, every link pointing to 404. This is so weird.. i remembered doing the same thing before and it was fine. I tried to run the update.php but the screen goes white and stuck there.
What should I do? Is there a guide to follow on migration? Why this occurs?
Thanks,
Haikalnash
Comments
check mod_rewrite is enabled
It sounds like you don't have clean urls enabled which requires apache mod_rewrite to be enabled.
Also, no need to run the install script again, only need to run once when creating a new site.
how can I do so? Since in the
how can I do so? Since in the new terminal I cannot access the administrator module, how can i set clean urls?
Where can i set the apache mod_rewrite?
Thanks in advance.
accessing admin module
you can access the admin page by putting /?q=admin at the end of your url
If you are using Ubuntu, this page might be helpful;
https://help.ubuntu.com/community/Drupal
No luck sir, its 404 when I
No luck sir, its 404 when I tried the /?q=admin. I tried migrating to other windows server that run on XAMPP , and it was fine. I wonder whats wrong..