You are here

Only the front page works with Drupal

Submitted by egbert on Mon, 31/12/2018 - 07:26

I copied over an instance of my Drupal 7 installation to a local Debian server for testing. I then exported the original database from the source server and imported it with phpMyAdmin on the new server.

I edited the /sites/default/settings.php file to reflect the new database settings.

I could load the front page but got errors on all other pages.

1. I made changes to the drupal /.htaccess file as follows:
ReWriteBase /dp (the new path)
2. I edited /etc/apache2/sites-available/000-default.conf

AllowOverride All

3. Restarted Apache
sudo service apache2 restart

All working now!!