Set Friendly URL of New Page/Post
Author | Posts |
---|---|
May 24, 2014 at 10:15 pm 20952 | |
bigtom | Is there a way to set the Friendly URL of a new page/post that is going to be created? Perhaps using a standard text input box, you could use that to define what the Friendly URL will be set to when the page/post is actually created? I'd like the user to be able to set the Page Title, but then create a different friendly URL than the default one that wordpress creates. |
June 3, 2014 at 5:39 am 21378 | |
Joe | Did you ever find the answer? I want this too. |
June 3, 2014 at 5:44 am 21380 | |
Mahi | can you guys please elaborate more? what URL you after? you can manage your URL form Settings > Permalinks ? |
June 3, 2014 at 6:00 am 21382 | |
Jason | My workaround was to call the “Post Title” the “Friendly URL” on the form, so the user would basically type in the short URL they wanted. Then I created another text field called “Page Title” and tweaked my single.php file to display the proper/custom <h1> tag. If you go this route, you’ll likely have to make a few modifications to your theme and wordpress core, as things like the RSS feed aren’t going to get the proper title since I’m sort of faking the result. Hope that helps. |
June 4, 2014 at 5:48 am 21412 | |
bigtom | I think what is being discussed here is not having the Slug set to the Title directly as it is not friendly sometimes. |