How to catch a clean url in my own plugin
-
I have a custom content type, lets say Movies.
I am writing a plugin that show the Movies in a list.
You can click on a Movie, that brings you to the detail page of the movie.When you click a movie, I want it to be this url: /Movies/id/23 for example.
The url creation is no problem, the problem lies how to catch the URL in the plugin. Now I get a 404 page if I do so. Thus not my plugin, but WordPress is handling the URL request.
- The topic ‘How to catch a clean url in my own plugin’ is closed to new replies.