Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By byenary on
Hi, yall
Got this little issue with imce.
When i Browse for files, they get save as an url like
websitename/sites/default/...
Now when I move the site to production, the url's are lost and if I add a new image for example I noticed the url's are like
sites/default/.....
So how do I get rid of my websitename prefix in the url on my local system ?
THX
Comments
=-=
perform a search and replace on the database for the path
vhost
Well that ofcourse would work, but not the best solution, did some research and the actual reason is I need to develop using a virtual host and not in a directory, this way files have proper paths.
Thx anyway