• Resolved BHD

    (@bhd)


    Okay, I realize that I am very new to WordPress, but after spending hours searching this forum, I am stuck.

    Following the directions to upload a site header image, the image will not appear. I sized it as recommended at 1000 x 288. It is only 110kb in file size. I have set permissions on uploads to 766 for the images folder, and I can “see” dozens of the same image that I attempted to upload on my server, but no image is displayed on my blog.

    Sorry to ask a very newbie question, but I’m at a loss and need the gentle guidance of someone with experience.

    My new blog: https://www.bootedmanblog.com

    Thanks!

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter BHD

    (@bhd)

    Oh, sorry. Esmi, you have been so helpful, I am more than happy to share.

    My web host added these lines to my primary domain’s .htaccess file:
    SetEnvIfNoCase Referer “^https://bootedmanblog.com/” locally_linked=1
    SetEnvIfNoCase Referer “^https://bootedmanblog.com$” locally_linked=1
    SetEnvIfNoCase Referer “^https://www.bootedmanblog.com/” locally_linked=1
    SetEnvIfNoCase Referer “^https://www.bootedmanblog.com$” locally_linked=1

    To be clear, my blog is on a subdomain that is under my main domain. The change to the .htaccess file was for the file on my main domain, not the subdomain where the blog is.

    Did you have anti-hotlinking enabled on this account?

    Thread Starter BHD

    (@bhd)

    Esmi, I’m sorry, I don’t know what anti-hotlinking is. Is that a WordPress matter or a web host matter, and if it is not done, should I have it done? Is this something I can do or ask the web host to do? Sorry, this is beyond my current scope of knowledge as a hobbyist.

    It’s a hosts’ account setting. Best guess, your hosting account includes anti-hotlinking – a common tool that tries to stop other sites linking to your images directly (thus stealing your bandwidth) instead of uploading the images to their own sites. The problem with this sort of “protection” is that the server sees WordPress as another site and blocks access to your own images when WP tries to use them. The fix that your hosts applied allows specific access to those images to any scripts on your site – including WordPress.

    Does that help?

    Thread Starter BHD

    (@bhd)

    Okay, I understand. Actually, I developed my .htaccess file for my main website so long ago that I didn’t realize that what you called “anti-hotlinking” is just what I did — to try to prevent bandwidth theft and also to avoid having my photos show up on other websites. I know the crafty person can do that, but the typical novice got blocked.

    I’ll look again at my .htaccess account and remove those anti-hotlink codes. I did it five years ago when I had another host that limited my bandwidth (or charged extra if I went over the monthly allowance.) This isn’t an issue any more since I switched to hostgator, which has no specific limits on bandwidth per month.

    Thanks very much!

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Images will not display’ is closed to new replies.