So I recently migrated my site between servers. I think this is causing some issue with the base path of Drupal, which in turn affects the image upload path when a user tries to upload an image to his/her profile.
So, before migrating, some data was already uploaded to some of the users and their images and paths work just fine. The path is as follows for example:
www.example.com/sites/default/files/styles/thumbnail/public/pictures/picture-125-1377507580.jpg
But now, when I'm trying to add new users and when I upload new pictures, the image doesn't get uploaded and the path to the image is as follows:
www.example.com/new/?q=sites/default/files/styles/thumbnail/public/pictures/picture-125-1377507580.jpg
Why is this happening? How do I change the Drupal base path? Thanks
.htaccess
file as well?