Having a custom post slug that clashes with an existing directory

Not using WordPress. With that directory in place, your web server doesn’t even touch WordPress when it handles the request.

I would:

  • Move as much of your stuff as possible away from using that folder
  • Rename the rewrite rule so that it’s not just /episodes/ so that it doesn’t clash

You could try moving the folder and adding redirects, but at that level you’re at the Apache/Nginx level, not the WordPress level

Leave a Comment

error code: 523