Convert External Image URLs To Internal Image & Link URL

nappz

Regular Member
Joined
Jun 17, 2013
Messages
220
Reaction score
53
Hi All,

I have a wordpress website. I am having lots of external images & I have linked to that in my pages. Now I want a plugin to store those images and point to internal links for images.

Any suggestions ?
 
I'm not sure I understand the issue.

You want to re-host those images?

This seems like it will require a lot of manual work. Re-hosting those images and then altering the links.

For the future, use relative paths and not absolute. For example:

Relative:
/images/duck.gif

Absolute:
http://mydomain.com/images/duck.gif

This way even if you migrate to a new server or install SSL, all is good.
 
Hi,

I have many images which are direct links from external websites.

I want to save them in my local directory/website and change the links to my local links.

For example -

External Image - > <img src="http://externalwebsite/image1.jpg">

Save image1.jpg to my local directory -> mywebsite/images/image1.jpg

Change the Link -> <img src="images/image1.jpg">

Hope this will clarify.
 
Agree with the previous post. You can download those images and can upload them to your site's directory. After that update the internal path of the images with the location of your website where you have uploaded them.

Hope this will help you.
 
Hi,

I understand that is the usual process. But is there a way to avoid this route as I already have 100s of images on my website. But I do not want to point it to external but keep them in my website directory.

I was hoping for any wordpress plugin to do that.
 
Back
Top