Title: URL rewrite problem
Last modified: August 30, 2016

---

# URL rewrite problem

 *  [Damjan](https://wordpress.org/support/users/skydriver/)
 * (@skydriver)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/url-rewrite-problem-5/)
 * Hello friends,
 * I have problem with rewriting custom URL structure.
 * The URL structure is:
    Single **Movie**: example.com/movies/movie-category-name/
   movie-title/
 * Single **Movie Chapter**:
    example.com/movies/movie-category-name/movie-title/
   movie-chapter/
 * where:
    **movies** – Base URL **movie-category-name** – Taxonomy name of movie
   custom post type **movie-title** – Movie custom post type title **movie-chapter**–
   Another custom post type related to movies using ACF repeater
 * Currently, I’m using `post_type_link` filter, and it works only for Movie CPT,
   but for Movie Chapters I got 404 error.
 * So, the main question is **How to rewrite movie chapter URLs** ?
 * Thanks.

The topic ‘URL rewrite problem’ is closed to new replies.

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Damjan](https://wordpress.org/support/users/skydriver/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/url-rewrite-problem-5/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
