WordPress.org

Ready to get started?Download WordPress

Forums

Redirecting the Attachments Page to the Attachment File (2 posts)

  1. aarontheboy
    Member
    Posted 1 year ago #

    Hello,

    I'm trying to redirect links to attachment pages to the attachment file retroactively (to work with Lightbox 2). I know how to implement it going forward, but can someone help doing it retroactively?

    I've followed this tutorial, but it is not working:
    http://www.wpcloudlayer.com/redirecting-the-attachments-page-to-the-attachment-file/

    on links in question, it returns false instead of true, so it is running, but it's not id'ing/changing attachment links.

    I am testing on a child template of the twentyten theme.

    Thanks!

  2. aarontheboy
    Member
    Posted 1 year ago #

    bump?

Topic Closed

This topic has been closed to new replies.

About this Topic