Jump to content

Image links trouble in tinyMCE after migration


Recommended Posts

Hi everyone!

 

I've just made a migration of my prestashop website from a server A to a server B. All went good. Except for one point: All my images added via tinyMCE Rich Text Editor, (example in my manufacturer description) are still related to my server A! Links to my images seems to be hard coded, with http://tomyserverA.com adress. So, every images in it must be charged from my old server, many http requests, many loading time etc...

 

So the question are: How can i make relative adresses in tinyMCE ? And how can i update all my already tranfered info to point on my actual server?

 

I actually have all images duplicated on my new server, but links aren't just good.

 

Any help appreciated.

 

Thanks ! 

Link to comment
Share on other sites

im affraid that you will have to re-save each text where the url to picture is, 

there is no other easy way to achieve it.

 

other thing is a script to change entries in database, but it needs custom development.

 

you can also try to redirect url with htaccess, but it's not "proper" way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...