• Resolved jorgitobg

    (@jorgitobg)


    Hi,

    I just discover a surprise… with yoast plugin active if I check redirects site returns 404error trying to directly download an image for example… if I deactivate plugin the everything backs to normal.

    I need to download images from other servers, why I cant?

    Regards

    https://www.redirect-checker.org/index.php
    ************************************************

    >>> https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    > --------------------------------------------
    > 404 Not Found
    > --------------------------------------------
    
    Status:	404 Not Found
    Code:	404
    Server:	nginx-rc
    Date:	Fri, 05 Aug 2022 08:56:51 GMT
    Content-Type:	text/html; charset=UTF-8
    Connection:	close
    Vary:	Accept-Encoding
    Expires:	Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control:	no-cache, must-revalidate, max-age=0
    Link:	<https://xxxxxxxxxxxxx/wp-json/>; rel="https://api.w.org/"
    Strict-Transport-Security:	max-age=31536000
Viewing 4 replies - 1 through 4 (of 4 total)
  • @jorgitobg We’re sorry to hear you are experiencing this issue on your site.

    Can you please provide us with an example URL of one of the image URLs you are attempting to access, so that we can check into this further?

    Thread Starter jorgitobg

    (@jorgitobg)

    Hi @devnihil I just deactivated “Redirect attachment URLs to the attachment itself?” and then all images and attachments are returning 200…. but now the wordpress attachment pages are visible again with a noindex.

    Also I tried to update to yoast seo version 19.5 but then I got a php critical error making my site going down, so I rollback a backup to 19.4.

    So unstable…

    @jorgitobg I’m sorry for the confusion, but can you please clarify how the you are trying to download the image when you receive the 404 error so that we can try to replicate the issue?

    For example, with the “Redirect attachment URLs to the attachment itself?” feature enabled, are you trying to download an image in a browser when the 404 occurs? If so, are you doing this by entering the URL of the image directly? Or are you trying to download an image via command line?

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘404 error redirect to uploads’ is closed to new replies.