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
Related Posts:
- Combining Multiple Taxonomies in one URL
- Passing parameters to WordPress static front page
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- Issue with permalinks for custom post type
- Custom Post Type Permalinks Problem
- “regular” pages not found after changing permalink
- Custom Post Type Permalink / Rewrite not working immediately
- How to remove /blog/ prefix for custom post types in permalinks?
- WordPress Custom Post Type is Matching on Partial Slug
- Changing the URL Structure of a Paginated Custom Post
- Change slug of registered custom post type in child theme
- Templates for Custom Post Types and Custom Taxonomies
- Permalinks so that one custom post type appears to be a child of another, not working
- Create permalink structure for one taxonomy archive per custom post type
- Custom Post Type Permalink For Parent/Child, 404 Page Not Found Error
- How to achieve this permalink -> category-name/custom-post-type-name/post-name
- Can you have two CPTs with the same permalink structure?
- Understanding Permalinks on Custom Post Types
- Custom post type’s get_permalink returns wrong url
- ACF Relationships in Custom Post Type Permalink
- Prepend meta_value to permalink of post
- URL rewrite and navigation structure for wordpress custom post type
- Define permalinks for custom post type by taxonomy in WP 3.4
- Remove taxonomy slug when not assigning taxonomy with custom post types
- Add extra parameters after permalink?
- Custom permalink structure for custom post type
- Custom Permalink Tag breaks Pagination
- Permalinks for Taxonomy and Custom Post Type
- Programmatically adding posts
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Share parent path between Custom Post Types and Pages?
- multiple url slug for single custom post type
- Custom post type and taxonomy permalinks – Structure
- Custom Post Type and Custom Taxonomy Permalinks
- How do I get the permalink structure to work like this?
- How do I fix permalinks for custom post types that has the same slug as a page?
- Why does wordpress keep adding postname to my CPT’s permalink in the end?
- Add archive slug to default post post type
- Custom Post type and permalink settings
- Custom rewrite rule for hierarchical custom post type
- add category name to permalinks on product page /category-name/product-name
- WordPress add_permastruct unwanted matches
- Custom post type url with category
- Adding custom post category slug in permalink causes 404 error for pages and posts
- How can I use get_post_meta with add_rewrite_rule to build custom permalinks?
- How to set a CPT to have a page as a parent, then rewrite urls accordingly?
- Custom Post Type Permalink empty
- Change custom post type permalink to show name of post from another custom post type?
- Custom taxonomy returns 404
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- Custom post type and taxonomy permalinks
- Flush Rewrite Rules when new site is created on network
- Pretty URLs and custom post types
- Form action doesn’t work if slug isn’t same as custom post title
- Check post on publish for blank title
- Template files for Custom Post Type and Taxonomy
- Custom Permalinks with meta value not working. Why?
- Post URL based on Custom Post Types variables
- Dynamic CPT permalink structure based on ACF field value
- Post type Permalink
- get the permalink never return with empty value
- Redirect User From Registration Page To CPT (profile page) with custom url
- Custom Post Type with Configurable Sidebar via ACF
- Setting a homepage – doesn’t seem to work
- Improve Custom Post Permalink Structure
- Using page title as a link to term archive
- Pagination does not work on Custom Post Type archive while trying to get load more function working
- Custom post type permalink structure to include the taxonomy
- Custom Post Type permalink doesn’t match post permalink
- I want to rewrite the URL of a specific post with a specific custom field to easily analyze in Google Analytics
- How to mass get post editor URLs
- Error 404 change permalink term custom term taxonomy
- WordPress URL rewrites using Advanced Custom Field
- Preview url not working outside wp-admin
- Custom post type defaults to index.php for archive page
- Permalink for custom post type pages not working
- Adding categories to custom post type in permalink
- Change custom post type permalink according to category
- Pretty permalink structure with multiple (AND OR) taxonomies
- Remove wp directory and slug for custom post type from the URLs
- 404 custom post type
- Custom post URLs
- Is it possible to have public posts in a non-public custom post type?
- How can I add a “fake” parent into the permalink?
- Custom Post Type Archive Links Not Working
- Custom Post Type Categories Not Maintaining URL structure any more
- Add category slug as class attribute in a link array
- Get post id of permalink for a specific custom post type?
- URL Rewrite Adjustment for Custom Post Type causes template to revert to index.php
- Add taxonomy to custom post type archive
- Can’t preview custom post – Redirected to home page
- Custom Post Type – Rewrite slug [duplicate]
- Custom Post Type Permalinks with %category%
- Custom post type – permalink
- Custom post types permalinks not working
- Rewrite rules for using the same base slug for multiple content types
- Problem with Custom Post Types, Taxonomy, permalink, Archive
- PHP Button Custom link [closed]
- Custom post type, when type non existing post name, it query the nearest possible post name by default. How can I disabled this behavior
- Have Custom Taxonomy Slug Fall Under Custom Post Type Slug