I am trying to migrate my Drupal website from localhost to server, but I am having some problems. I tried many guides from Google, but with no luck.
What I did:
First I did a fresh drupal installation on server
Once installation was complete I edited the
.htaccess file as
Then I used mysqldump to dump my database from localhost to server I found that I had total 126 tables in localhost while in server I had 128 tables
Then I copied my complete "sites" directory from localhost to server
Now when I enter
www.mysite.com/site-name I get proper home page of my website but if I go to any other link such as
www.mysite.com/site-name/user it is not able to open the page but if I enter
www.mysite.com/?q=user then it works perfectly and this happens for all pages such as
What should I do to solve this issue? I think it is a problem of
clean-urls So I went to configuration but it said clean URL enabled but test failed!
I need to make website live by tomorrow so need your help!
Note: I am using ubuntu on localhost as well as server