Link images broken when I’ve changed hosting
-
Hi all. I had my wordpress installed at / in a hosting but I’m trying to change blog to my own local hosting. The problem is that in my hosting I want install the blog at /blog but my images are linked to “/wp-content/uploads…”. The problem is that the link to the image in my hosting is /blog/wp-content/uploads…”. I think there are two posibilities:
1. Change all images links to the correctly URL. The problem of make this is that if in the future I would change to / I had to change all links another more.
2. Perhaps, apache server had an option to make at /blog be an independient host that interpret / like /blog. Someone know if it’s possible?
3. I’ve try to change images links to src=”<?php echo get_settings(‘home’); ?>/wp-content/uploads…” but it have’t work.Sorry for my bad english, I only speak a little english and thank you very much for helping.
The topic ‘Link images broken when I’ve changed hosting’ is closed to new replies.