By Jack™ on
Currently my Drupal installation is in the /home directory, but now I want to move it to the main page.
How can I do that and keep the content that is there already?
Currently my Drupal installation is in the /home directory, but now I want to move it to the main page.
How can I do that and keep the content that is there already?
Comments
You can just move all Drupal
You can just move all Drupal files back to your web root. What is the problem with keeping the content which is already there? Same filenames?
Sry, i meant: When I do that,
Sry, i meant: When I do that, all the links, everything, still go to /home/whatever, instead of just /whatever
I can't just go through and change them manually, because it's every link on the site.
=-=
clear your cache tables in the database after the move
ok, thanks. I'll try it
ok, thanks. I'll try it
When I moved the files, it
When I moved the files, it deleted the admin menu, and there's no theme anymore (I deleted the origonal /home directory after moving it, i backed it up)
I cleared the cache when it was installed, and it didn't work. I tried to delete it and clear the cache, except there was no admin menu, so I couldn't
Make sure that you have moved
Make sure that you have moved back Drupal's .htaccess file. Often filenames with a leading dot are left out of a copy operation.
Go to http://example.com/?q=user and make sure that you are logged-in.
To rebuild the menus run update.php (even if there are no updates) and make sure that it completes successfully without timeouts.
To rebuild the theme registry go to the http://example.com/?q=admin/build/modules page and save it.
About the additional /home path, make sure that you haven't entered it in your settings.php file (in the $base_url line) and that you haven't added anything containing "/home" in your .htaccess file (for example in RewriteBase).