Hope this is the right place for this.
Following scenario:
PW is running on my localhost:
http://localhost/mysite
when I insert an image into the textarea the path is like this: "/mysite/site/assets/files/1028/berlin.jpg"
Then I changed to a development host name, which point to the same directory:
http://mysite.dev
Then all the inserted images do no work anymore, because obviously "/mysite/site/assets/" does not exists, it then should be "/site/assets/"
Since the image path is written in this plain form into the db, this kind of inflexible.
Any solution to this?
Edit: It sure could be done easily with a .htacces rewrite:
RewriteRule ^mysite/(.*) $1
but I'd consider this hacky then.