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

VM’s picture

perform a search and replace on the database for the path

byenary’s picture

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