Create Permalink from my plugin
-
Hi,
I created a plugin what use custom variables like
$_GET['car_id']
So a link get this url:
mydomain.com/my-page-name/?car_id=2
But I wan to an other link something like this:
mydomain.com/my-page-name/2
I read more hundred tutorials, but they are all not work, so I do something wrong maybe. I created a basic code from tutorial, so the next code should be work:
[Code moderated as per the Forum Rules. Please use the pastebin]
This create a simple permalink, but not work to me.
Please, can anybody give me a working code?
- The topic ‘Create Permalink from my plugin’ is closed to new replies.