Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Get Ungly URL from permalink URL

$
0
0

Replies: 0

Hi,
I have a need to get the ugly url for a dynamic post from the permalink. In other words, I want to reverse the permalink encoding. Is there a function that can help me with this task?

Alternatively, I want to rewrite a given “name” pretty permalink into “plain” permalink.

The basic need is to reformat a “link” to a custom post. Doing so, allows me to force a “template page” under specific conditions I can check in code.
Thanks,
Carlos


Viewing all articles
Browse latest Browse all 59525

Trending Articles