WordPress.org

Ready to get started?Download WordPress

Forums

Force WordPress to serve page for image requests? (1 post)

  1. jshare
    Member
    Posted 3 years ago #

    If an image on my blog goes viral on social media, many people will view it on its own in their browser while I pay CDN bills.

    Instead, what I'd like is for WordPress or nginx to recognize that a user only wants to see a specific non-theme image, and instead of serving the image directly, it would dynamically serve a page from my blog featuring the image.

    This way, I at least have a chance of retaining some of those image-wanting visitors on my blog.

    Is there a plugin that does this, or do I need some htaccess rewrite magic?

    Thanks for any help

    Jacob

Topic Closed

This topic has been closed to new replies.

About this Topic