Stopping media file redirects

This fixes the problem:

remove_action('template_redirect', 'redirect_canonical');

techhipbettruvabetnorabahisbahis forumueduedueduedusedusedueduedueduedus