Adding a custom field in addition to Post Name to Permalinks?
-
By default WordPress takes the page title you enter in the editor and makes it into a permalink. This title is usually also the h1 of the post.
If I keep the default title in the editor as my h1, but then add another h2 that’s added by an Advanced Custom Field, how would I be able to combine the custom h2 field into my page’s permalink to help my SEO?
For Example: My post’s title would be “WordPress Title” and my custom h2 field added to the post would be “Example for Forum” so the url would end up being “site.com/wordpress-title-example-for-forum”
Doesn’t seem like it’s as easy as just appending the custom field on to the end of /%postname%/ in the Custom Structure of the Permalink settings.
- The topic ‘Adding a custom field in addition to Post Name to Permalinks?’ is closed to new replies.