Support » Plugins » Redirect image URL to permalink

  • Hi All

    please help with this – can i add redirect in .thaccess file that will allow me to redirect any URL inside post that contain “.jpg” or “thumb.jpg” to a permalink – same post where that image is placed?
    Of course it should be “RedirectMatch 301”

    Full description of the issue:
    Inside my posts (lot of them) I have image that is showing up in post, but also alone as a page, well i want to send that page to parent post. So posts “” will have image that can be access through browser as “” Now I don’t want google to crawl this image and rather would like to redirect “” with 301 to “”. There is too many posts so I need redirect as ti could not be done manually.

    Thanks a lot.

Viewing 1 replies (of 1 total)
  • Please note I don’t want to redirect ALL images to prmalinks, just those with certain string such as “thumb.jpg”. Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect image URL to permalink’ is closed to new replies.