Forums

[resolved] media not showing due to wrong address (5 posts)

  1. bacco
    Member
    Posted 7 months ago #

    Greetings,
    sorry if this question have already been posted but I cant find it!
    I have moved my WP from my server to a hosting service.
    The hosting company is 1freehosting.com
    After some troubles due to some wrong config.php issue, I now have access to the blog (I always had access to the admin pages but somewhere it kept a port I used in my other server).
    Now, so far, the only issue I cannot solve is that when I open any of my posts, no media shows up.
    The media does exist!
    The problem is that the linkk to the media is in the following form:
    http://domainnamewp-content/....
    As you notices, its missing the '/' between the domain name and the folder wp-content
    I searched all over but I cannot see where to fix it.
    In the admin pages, settings, general, the info is correct.
    In the PHPMYADMIN the siteurl and the home i well set
    Where can I look at this point?
    Any good suggestion is welcome.
    Thanks
    Bacco

  2. Samuel B
    moderator
    Posted 7 months ago #

    use this plugin to replace incorrect media url's with correct ones
    http://wordpress.org/extend/plugins/search-and-replace/

  3. bacco
    Member
    Posted 7 months ago #

    Samuel,
    thanks for the suggestions.
    It worked well.
    However, do you have an idea why that happen?
    I still have to try to post a new article and see if in the future it stays ok.
    But if you have an idea of what was the reason of the error, I can try to prevent it in the future.
    Regards,
    Bacco

  4. Samuel B
    moderator
    Posted 7 months ago #

    you'll be fine in the future
    it's just that images get hard-coded - not relative paths
    not sure why the url without the/

    you will need to do this any time you move a site

  5. bacco
    Member
    Posted 7 months ago #

    Hey Samuel.
    again, thanks a lot. This was troubling me for 2 days by now!
    I hope I dont have to change sites too often!!!
    LoL
    Have a good day.
    Bacco

Reply

You must log in to post.

About this Topic