Title: Wrong file name in player
Last modified: July 30, 2024

---

# Wrong file name in player

 *  Resolved [heiland](https://wordpress.org/support/users/heiland/)
 * (@heiland)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wrong-file-name-in-player/)
 * Our Podcast stopped working. In the player I see the following link:
   [https://www.pfz.at/podcast-player/11106/podcast-dialog-und-kritik-wie-passt-das-zusammen.mp3](https://www.pfz.at/podcast-player/11106/podcast-dialog-und-kritik-wie-passt-das-zusammen.mp3)
 * The real file path is: [https://www.pfz.at/wp-content/uploads/2024/07/Episode-16.mp3](https://www.pfz.at/wp-content/uploads/2024/07/Episode-16.mp3)
 * Why does this happen? Do I have to change something in the settings?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-file-name-in-player%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Serhiy Zakharchenko](https://wordpress.org/support/users/zahardoc/)
 * (@zahardoc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wrong-file-name-in-player/#post-17924531)
 * Hi [@heiland](https://wordpress.org/support/users/heiland/),
   Sorry to hear you
   encountered this issue. The URL in the player is correct, and your server should
   automatically redirect it to the real file path. Unfortunately, some servers 
   doesn’t handle such URLs correctly. Could you please share what hosting do you
   use?Could you try adding the following code at the top of your `.htaccess` file?
 *     ```wp-block-code
       <IfModule mod_rewrite.c>RewriteEngine OnRewriteCond %{REQUEST_URI} ^/podcast-player/([^/]+)/([^/]*)\.(mp3|mp4)$RewriteRule ^ index.php?podcast_episode=%1&podcast_ref=player [QSA,L]RewriteCond %{REQUEST_URI} ^/podcast-download/([^/]+)/([^/]*)\.(mp3|mp4)$RewriteRule ^ index.php?podcast_episode=%1 [QSA,L]</IfModule>
       ```
   
 * Best regards,
   Serhiy.
 *  Thread Starter [heiland](https://wordpress.org/support/users/heiland/)
 * (@heiland)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wrong-file-name-in-player/#post-17924795)
 * Hi!
 * Adding the code to .htaccess did not change it.
 * It worked for a long time. It has stopped working with one of the last updates.
   
   I don’t know exactly what happens.I this link: [https://www.pfz.at/podcast-player/11106/podcast-dialog-und-kritik-wie-passt-das-zusammen.mp3](https://www.pfz.at/podcast-player/11106/podcast-dialog-und-kritik-wie-passt-das-zusammen.mp3)
   11106 is the post->ID, podcast-dialog-und-kritik-wie-passt-das-zusammen is the
   slug of the post. Shouldn’t it be the name of the media file (Episode-16.mp3),
   as there is no [podcast-dialog-und-kritik-wie-passt-das-zusammen.mp3](https://www.pfz.at/podcast-player/11106/podcast-dialog-und-kritik-wie-passt-das-zusammen.mp3)
   at the server?
 * Could I get older versions of the plugin, just to test when it stopped working?
    -  This reply was modified 1 year, 10 months ago by [heiland](https://wordpress.org/support/users/heiland/).
 *  Plugin Author [Serhiy Zakharchenko](https://wordpress.org/support/users/zahardoc/)
 * (@zahardoc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wrong-file-name-in-player/#post-17930091)
 * [@heiland](https://wordpress.org/support/users/heiland/) 
   We use the virtual 
   mp3 file approach for different type of tasks, for example to save the file listening
   statistic in the Stats plugin.Did you try these troubleshooting steps?[https://support.castos.com/article/160-podcast-episodes-will-not-play#](https://support.castos.com/article/160-podcast-episodes-will-not-play#)
   If you don’t need statistic, you can try adding the following code to your `functions.
   php` file:
 *     ```wp-block-code
       add_filter( 'ssp_episode_download_link', function ( $link, $episode_id, $file ) {  return $file;}, 10, 3 );
       ```
   
 * It will force SSP using real file path instead of the virtual MP3 file.
   Hope 
   this helps,Serhiy.
 *  Thread Starter [heiland](https://wordpress.org/support/users/heiland/)
 * (@heiland)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wrong-file-name-in-player/#post-17933138)
 * Thank you!
   With this filter it works again!Could you please tell me the server
   requirements for SSP. I can then communicate with my hosting company.
 * alle the best
    -  This reply was modified 1 year, 10 months ago by [heiland](https://wordpress.org/support/users/heiland/).
 *  Plugin Author [Serhiy Zakharchenko](https://wordpress.org/support/users/zahardoc/)
 * (@zahardoc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wrong-file-name-in-player/#post-17933809)
 * Hi [@heiland](https://wordpress.org/support/users/heiland/),
   Glad you managed
   to fix it!
 * Regarding your questions – the only server requirement is to handle virtual “*.
   mp3” URLs. If the file path does not exist, it should not respond with a 404 
   error immediately but should pass the request to PHP. This used to work on most
   servers, but recently, NGINX changed their default settings, requiring additional
   configuration.
 * Additionally, we’ve noticed that Bluehost doesn’t work seamlessly with our plugin
   by default. To resolve this, you need to uncheck “Skip WordPress 404 Handling
   For Static Files.”.
   You can read more regarding the possible configuration problems
   in this article – [https://support.castos.com/article/160-podcast-episodes-will-not-play#](https://support.castos.com/article/160-podcast-episodes-will-not-play#)
   Other than that, in most cases, SSP works out of the box with no additional setup.
   Also, if you like our plugin and have a moment, we would greatly appreciate it
   if you could [leave us review](https://wordpress.org/support/plugin/seriously-simple-podcasting/reviews/?filter=5#new-post).
   Your feedback helps us continue to improve and also assists other users in discovering
   our plugin.Best regards,Serhiy.

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

The topic ‘Wrong file name in player’ is closed to new replies.

 * ![](https://ps.w.org/seriously-simple-podcasting/assets/icon-256x256.png?rev=
   970355)
 * [Seriously Simple Podcasting](https://wordpress.org/plugins/seriously-simple-podcasting/)
 * [Support Threads](https://wordpress.org/support/plugin/seriously-simple-podcasting/)
 * [Active Topics](https://wordpress.org/support/plugin/seriously-simple-podcasting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seriously-simple-podcasting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seriously-simple-podcasting/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Serhiy Zakharchenko](https://wordpress.org/support/users/zahardoc/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/wrong-file-name-in-player/#post-17933809)
 * Status: resolved