By andrewjanu on
I created a Drupal test site in a subdirectory on my site's server. The site is finished and I'd like to go live. When I change the home destination directory of the domain to my test (now ready-to-go-live) site's directory, my landing page comes up but all the other links are Error 500's.
My questions are:
1. Can I still go live with my Drupal site in this test directory?
2. Must I move my Drupal site to the main directory, and if so, how can I accomplish that?
I thank you for any time and consideration you give to my questions.
Comments
I would..
If your test site is working okay in the sub-directory, simply make sure your settings file is okay and move it over to your main directory. That's what I would do. I had a similar problem once when moving a site around in sub-directories. .Something in rewrite rules was causing problems. I just solved it by putting my site in the root content directory and making sure all my settings were okay in settings.php
I moved all the contents from
I moved all the contents from my test site directory into the main directory.
My landing page comes up, but all the links are still error 500's.
is it definitely the settings.php file that I have to tweak? If so, what needs to be changed? The base URL?
What about the .htaccess file? Anything in there?
Thank you again.
Clean URLs and 1and1hosting
I figured it out. Clean URLs and 1and1hosting don't mix. I disabled clean URLs and the redirecting of the site's home directory to my Drupal site directory now works fine. If any of you use 1and1 hosting and are having problems with 500 and 404 errors try disabling clean URLs and go from there.
You might be able to use
You might be able to use clean urls if you alter the rewrite rules in your settings file.