Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jstallard

    (@jstallard)

    This was in the logs:
    23.235.244.28 – – [03/Jul/2017:13:00:20 +1000] "POST /wp-content/uploads/2017/05/02-The-Birdsville-Track.mp3?wc-ajax=get_refreshed_fragments HTTP/1.1" 404 9763 "http://birdsvilletrack.com.au/wp-content/uploads/2017/05/02-The-Birdsville-Track.mp3" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0"
    23.235.244.28 – – [03/Jul/2017:13:01:00 +1000] "GET /?wordfence_logHuman=1&hid=2809489A2F63CB2ADD62D293E310A8D8&r=0.23909763909071335 HTTP/1.1" 301 20 "http://birdsvilletrack.com.au/wp-content/uploads/2017/05/02-The-Birdsville-Track.mp3" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0"

    • This reply was modified 8 years, 11 months ago by jstallard.
    Thread Starter jstallard

    (@jstallard)

    This was a weird one.

    When I create a new website, I use software that copies a template WordPress website. The template website must have had Wishlist Member installed on it at some stage because there’s a file:
    /home/bvat/public_html/wp-content/uploads/.htaccess

    That contained:
    # BEGIN WishList Member Attachment Protection
    RewriteEngine on
    RewriteCond %{REQUEST_URI} !\.(jpg|jpeg|png|gif|pdf|bmp|css|js)$
    RewriteRule ^(.*)$ /index.php?wlmfile=$1 [L]
    # END WishList Member Attachment Protection
    # Kill PHP Execution
    <Files *.php>
    deny from all
    </Files>

    We changed the RewriteCond line to:
    RewriteCond %{REQUEST_URI} !\.(jpg|jpeg|png|gif|pdf|bmp|css|js|mp3)$

    and mp3s started working again. I guess removing /home/bvat/public_html/wp-content/uploads/.htaccess would also work.

    I still have no idea why mp3s were working a couple of weeks ago and suddenly stopped.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘MP3 audio not working’ is closed to new replies.