How can I change the URL for a single page in Wordpress?
Posted
by
Dasun
on Stack Overflow
See other posts from Stack Overflow
or by Dasun
Published on 2013-10-28T03:45:37Z
Indexed on
2013/10/28
3:54 UTC
Read the original article
Hit count: 155
I'm using wordpress as the CMS. I have developed a custom plugin to show dealers information.
below is the URL.
http://example.nl/dealer-info/dealer-informatie/?n=91&d=dealer-name
91
is the dealers ID which is used to fetch the data from the DB.
Is it possible for me to change to URL as below.
http://example.nl/dealer-info/dealer-informatie/91/dealer-name
or
http://example.nl/dealer-info/dealer-informatie/?n=91/dealer-name
My purpose is to just to add /dealer-name
to the URL.
How can I change the URL for a single page in Wordpress?
Given that I don't want to change the permalinks which will affect the whole site. I'm aware the fact that this can be done using .htaccess but I don't the how to do it. Help me out if possible.
© Stack Overflow or respective owner