Hello every body, i upload my website in a server ,when i want to redirect it ,to home page it appear like this
http://www.tracker-solution.com/home/ (home it a folder where all file are locate) but i want that it appear like this in address bar http://www.tracker-solution.com. as home page ,how can i do that?

Comments

jamesoakley’s picture

The easiest way is to put all the files directly in the public_html folder, rather than in public_html/home.


This signature is currently blank
Valens rwakageyo’s picture

thanks Mr James Oakley ,i put it on public_html folder ,but now it can't appear when i want to browse this website ,how to direct it ??

jamesoakley’s picture

There seems to be an endless redirection loop in there somewhere.

Would you mind pasting your .htaccess file here?


This signature is currently blank
jamesoakley’s picture

Edit: Some of your /sites folder still seems to be in the /home directory. This often happens if Drupal changes the file permissions on settings.php so that it cannot be edited by a malicious script. You'd need to use cPanel's file manager to add "write" permissions to that file, then you could move it from /home/sites/default/settings.php to /sites/default/settings.php


This signature is currently blank
Valens rwakageyo’s picture

ok thanks for your advice ,but i still have a probleme ,the website i told you ,i was built it on my local server,when i put all fille in public html in cpanel, when i want to browser it ,it like i start install the drupal again,it confuse me because i alread upload my database from local host and all file which is in Home directory as i told u before ,pls help me 1 week now with da problemes

jamesoakley’s picture

It sounds like your cPanel Drupal installation is not finding the database you have uploaded.

Did you change the settings.php file, so that the database name, mySQL username and the mySQL password now refer to the database and database user that you have created on the cPanel server?


This signature is currently blank
Valens rwakageyo’s picture

OK now i Follow all steps and i solve the problemes ,my web look the way i want ,
awesome Jamesoakley ,Thanks

jamesoakley’s picture

That's great news! Glad to hear you're up and running at last.

I had a quick look - the home page is fine, but click on any links and you get a 404 "not found" error.

Check that you copied the file called .htaccess to public_html as well. (There may be a file there, but make sure it's the Drupal one)


This signature is currently blank
Valens rwakageyo’s picture

yes ,i solved it after copy .htaccess file in public _html ,but in my cpanel contains other 4 website project in public html in a folder call projects ,before i call it like this www.tracker-solution.com/projects/bestartel(bestartel is a name of web project) now it give me a message like this
Page not found
The requested page "/projects/" could not be found. what can i do?

jamesoakley’s picture

The 404 error message is being served by Drupal, which means that Drupal thinks it's responsible for serving up /projects.

Drupal only serves up a page if there isn't a file or folder by that name. Are you sure the /projects directory still exists?


This signature is currently blank
Valens rwakageyo’s picture

yes the directories still exists.this is the message appear to http://tracker-solution.com/projects/
Page not found
The requested page "/projects/" could not be found.