• hannekevintagevirus

    (@hannekevintagevirus)


    Hello people!

    Hopefully you can help me. I have a website where the images are nicely indexed and we are easy to find. Now something, do not ask me what, changed, so I got the message from google webmaster tool that many more 404 errors (about 1600 in the last couple of days) have occurred. After some hours of searching, I see that it is the name of my images.
    For example, this was first the name of an image:
    https://www.vintagevirus.nl/tekoop/vintage-industriele-kruk-atelierkruk-met-mooi-onderstel-gemaakt-in-de-jaren-70/img_4625/
    So now I get a 404 report on this result. This is the name of the same image now:
    //www.vintagevirus.nl/?attachment_id=6272
    I would very much like to have my first name back without a 404 report. Does anyone now what can have happened?

    Now I know how to adjust individual images, but since we have about 10,000 images, that is an impossible job. Is there a way to put this back somewhere through permalinks or something similar? Thanks for the effort!!

    Best regards. Hanneke

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • hannah

    (@hannahritner)

    Hi Hanneke,
    Sorry to hear this. Have you tried deactivating your plugins? That would be my first suggestion. Let me know if it doesn’t bring about any change.

    Hannah

    Thread Starter hannekevintagevirus

    (@hannekevintagevirus)

    Thanks for your reply! But will this also help for my ‘old’ images? I don’t know how to test this..

    Hope to hear from you!

    Regards,
    Hanneke

    [ Please do not bump. ]

    hannah

    (@hannahritner)

    What are your permalink settings (Settings > Permalinks)? Did you by chance change these prior to this issue happening?

    Hannah

    Thread Starter hannekevintagevirus

    (@hannekevintagevirus)

    No I didn’t. I switched all my plugins off due to another error and then switched them on again. And as I understand (whilst googling a lot :)) is that permalinks don’t influence the name of the images or do they? Regards!

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    The url you added that was supposed to be to an attachment page doesn’t really make sense to me. Unless you were adding a plugin to make media attachment pages use pretty permalinks they should default to ?attachment_id=6272 for example.

    Maybe this changed in WordPress but I know right now that is the default and if you wanted to change the attachment page permalink you would need to use a plugin or custom code.

    So this is a product page: https://www.vintagevirus.nl/tekoop/vintage-industriele-kruk-atelierkruk-met-mooi-onderstel-gemaakt-in-de-jaren-70/

    And in theory if an image is uploaded on the edit page of that product then it would be “attached” to that product and you could access it through the product url /imagename/

    But that should just redirect you to the attachment page url
    ?attachment_id=IDNUMBER

    So I can only provide this information. I can’t really guess at what happened on your site.

    I can tell you that the name of an image would affect the permalink if you had a plugin enabling attachments to use pretty permalinks but the permalink structure couldn’t affect the image file name.

    I can tell you that the theme does not edit or control the attachment page urls. Or even link to them.

    The only way I could see that Google would even know they exist is if you linked to them or you added them to your sitemap in your SEO plugin.

    Finally, it’s worth looking at your SEO plugin settings and what it’s doing with attachment pages. Yaost, for example, can force a redirect from attachment urls to the parent pages.

    I do suggest you contact your host to get a backup of your site from before this change occurred and it nothing else install that backup on a staging site so you can examine your settings and urls.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Media & permalinks’ is closed to new replies.