Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter heiland

    (@heiland)

    I found the problem in class-app-controller.php in the function setup_permastruct() – line 477

    I disabled the following code
    add_rewrite_rule( ‘^podcast-player/([^/])/([^/])/?’, ‘index.php?podcast_episode=$matches[1]&podcast_ref=player’, ‘top’ );

    Will there be a fix for this problem?

    best regards

    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Hi @heiland,

    That’s an expected behavior, /podcast-player/10793/podcast-more-than-ever-more-than-never-philosophizing-with-paulo-freire.mp3 will be automatically redirected to the real file path – /wp-content/uploads/2024/02/Episode-15.mp3.

    Thread Starter heiland

    (@heiland)

    Hi!

    That does not work in my case. With this rule the podcast did not work.

    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    @heiland
    What do you mean it doesn’t work? I’ve recently checked your site and I can see it redirects properly now.

    Thread Starter heiland

    (@heiland)

    Yes, it redirects now, after I removed the rewrite rule. I will check this on a test site. At the moment I am OK with this workaround.
    Thank you

    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    @heiland

    No problem, I’m glad to hear that you managed to fix it.

    However, I’m still a bit concerned about why it didn’t work for you with the default plugin rules. If the issue reoccurs, please don’t hesitate to reach out again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Wrong link to audio file’ is closed to new replies.