Forums

mod_layout mangling images and anything in the /files/ directory (4 posts)

  1. jayemm
    Member
    Posted 3 years ago #

    Hey folks,

    Because of the rewrite rules for uploaded files, when using mod_layout to prepend a header it mangles any uploaded data. Has anyone else noticed this or figured out a fix for it?

    Thanks a lot!

  2. Otto
    Tech Ninja
    Posted 3 years ago #

    Well, the obvious thing is to not use mod_layout.

  3. jayemm
    Member
    Posted 3 years ago #

    Otto,

    Yep, agreed however it's needed. :)

  4. Otto
    Tech Ninja
    Posted 3 years ago #

    Perhaps you can use an .htaccess to disable it in the wp-admin directory only?

Topic Closed

This topic has been closed to new replies.

About this Topic