Support » Fixing WordPress » Redirect all URLs ending in .jpg to Attachment Page?

  • It seems like there should be a simple, one- or two-line chuck of code to redirect all URLs ending in .jpg and .png to the correlating Attachment page, but I sure can’t find it.

    It’s a photography website, and I want people to see the Attachment pages; just not the raw .jpg File URL page. I *don’t* want to forward to the post or page to which a Media item may be attached.

    Any help will be greatly appreciated!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Redirect all URLs ending in .jpg to Attachment Page?’ is closed to new replies.