Direct Image URL – 500 Server Error

Home Forums BulletProof Security Pro Direct Image URL – 500 Server Error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40558
    Patrick Coleman
    Participant

    Hi,

    I’m using a multisite install which uses htaccess for uploaded images. Prior to using BPS Pro the direct URL to the images would work – now it gives a 500 Server Error. I don’t access the direct URL for images frequently but in this specific instance (using a site cloner plugin) it needs to access the images in this manner.

    I am hoping that I can simply deactivate a specific feature temporarily while using the cloning plugin and then reactivate it, however I haven’t been able to figure out which feature needs to be deactivated. Any help would be greatly appreciated.

    Thanks,

    Pat

    #40559
    AITpro Admin
    Keymaster

    This sounds like a non-BPS technical problem, but try doing steps 1-4 in the BPS Pro troubleshooting steps first > https://forum.ait-pro.com/forums/topic/read-me-first-pro/#bps-pro-general-troubleshooting . Let me know what happens after doing the BPS Pro troubleshooting steps.

    #40560
    Patrick Coleman
    Participant

    Nothing in the BPS security or php logs. The site log shows the following:

    2021-07-29 02:56:24 W3SVC23 173.248.141.100 GET /index.php - 443 - 50.5.191.76 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/91.0.4472.106+Safari/537.36 
    https://mysubdomain.myurl.com/wp-content/blogs.dir/45/files/2021/04/image.png 301 0 0 597 1575 4751

    https://mysubdomain.myurl.com/wp-content/blogs.dir/45/files/2021/04/image.png file exists but gives 500 server error.
    https://mysubdomain.myurl.com/files/2021/04/image.png file doesn’t actually exist but wp creates a redirect to display it via this URL.

    Prior to using BPS Pro the direct URL worked. Of course, I have also updated WP a few times since then.

    My gut says it is an htaccess issue but I’m not sure how to test that.

    Any further thoughts would be greatly appreciated.

    Pat

    #40561
    AITpro Admin
    Keymaster

    Ok what probably needs to happen is that you need to add your custom redirect htaccess code in BPS Custom Code.  Use FTP or your web host control panel file manager, go to this folder: /wp-content/bps-backup/master-backups/, check the most current Root backup files (named: root.htaccess-{date/timestamp} for your custom redirect htaccess code.  Did a plugin create your custom redirect htaccess code or did you create it manually?  Post your custom redirect htaccess code in your forum reply.  So I can tell you which BPS Root Custom Code text box to paste it into.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.