-
Add a new field below the post title and use something like my transliteration table to convert the post slug to US-ASCII. Then save that new slug in a meta field.
-
Hook into
404_template
(example), and run a meta query for the current slug. -
If you found something, use
get_permalink()
for the result andwp_redirect()
to send the user to the correct location.
Related Posts:
- Using a custom field value to redirect away from a 404 page
- Create additional short URL with custom field and 301 redirect
- copy attachments to another post type and change attachment url
- Redirect users based on custom field
- Masking Affiliate URL using $post_slug after “/go/”
- URL Rewrite fires when retrieving a custom value?
- How to redirect to home page according to a specific page custom fields value and user name
- How to use a custom field with add_rewrite_rule()?
- Redirecting to an external URL
- How to keep sharing stats after creating 301 redirects?
- Rewrite Custom Fields url
- Multiple permalinks for a single post from custom field
- Filtering output by two custom fields using posts_where and add_rewrite_rule
- Let any visitors delete a post if they know Id nr & password?
- i want to change URL of WordPress image or rewrite in runtime
- How to speed up post list slowed by update_meta_cache()?
- Custom Fields displaying in single line
- How to use ACF with javascript to update custom field values?
- variable not passed correctly to database using custom field
- WordPress Blocks, setAttributes not saving
- Save Taxonomy of Post via custom Taxonomy Select Dropdown
- Using Customizer API vs Custom Meta Box for custom content
- non-unique #_ajax_nonce id in browser console
- Custom pages or Custom Posts
- get_avatar filter is not working as per requirement
- Ordering by ACF custom field vaule
- Remove part from dynamic url and redirect
- What WordPress “technology” would I use if I wanted subscribers to be able to mark pages with characteristics and notes?
- Sort by an ACF field in a tax_query
- How can I ‘check’ the “custom fields” box from the Screen Options?
- Post Click Redirect to Custom URL instead of Single Post Page
- search based on custom field
- Why isn’t update_post_meta saving?
- Adding Facebook’s image and meta description retrieval capabilities to a WordPress post
- WP meta_query args not working in function
- Is it possible to add Term Meta Fields to a WooCommerce Attribute?
- How do i call up default post title in custom posts
- Filtering posts by ACF meta query
- trying to add extra field using hooks
- Can’t set custom meta fields for a post
- Saving Custom Field that includes Quotation marks
- WordPress Admin – Automatically Sort Custom Posts by Custom Field Date Value in d-m-Y Fomat
- Very large list of options for BuddyPress profile fields
- How do I display an article using a WordPress custom field?
- how can i show WordPress custom field data to my short code?
- Custom Fields not working properly
- Delete a custom field in mysql for all posts with specific category id
- Custom user registration fields in user_register hook
- Weird custom fields data lost
- Unable to change checkout placeholder text
- Store comment form custom field in custom database
- update a custom field with the value of another existing custom field
- How to I change the value of a custom field on the home page?
- Line break description wordpress
- Allow HTML in Custom Metabox area
- Custom Fields Not Showing (ACF not installed)
- Custom Field URL + description
- Why does my numeric meta query work only on one meta key and not the other?
- Show Custom field value instead of title in WP Menu
- How to save multiple custom user profile fields using repeater JQuery
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- How to make menu country specific?
- SQL query to change the value of a Custom Field
- Hiding Dropdown Fields
- Is there a way to determine which user changed a custom field (and when)?
- how to execute custom field for structured data?
- use custom field value as featured image
- Metabox/Custom fields are not saving input data
- adding autosave feature to custom fields
- meta_query to check all custom fields
- Custom meta POST request fired twice when updating a post in Gutenberg
- add different custom fields value to post class if permalink or index
- add meta box considers the selected option as post parent
- Can you generate a featured image from two images from custom fields?
- Trying to get custom field data in a simple plugin
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- Showing the post only when there is title, thumbnail and the content in Custom Fields
- author.php not showing content if Author has no Posts
- How to get all wp_posts in wordpress fetched from database
- Custom fields multiple commas separated values
- submitting form to admin-panel.php returns 500 error
- Custom field metabox not showing in back-end
- Retrive acf fields in publish_post action for wp_mail
- Display taxonomy loop using custom field data
- Update custom field on the fly
- Issue on Creating Checkbox Field On Custom Post type
- Custom field disappeared from screen options
- Post meta data not showing in frontend, until hitting ‘update’ button
- Adding more fields to the registration form
- checking liked user in wordpress rest api
- Custom Post Type canonical link / pagination redirecting to root
- Fresh install redirects to www, breaking page loads
- How to add code to custom field to every blog post via php?
- Show image depending on the number in the custom fields
- Saving custom form data
- (woocommerce) How to get product id form order id & then retrieve custom meta linked to product?
- Show echo ready in single.php
- User Filter Options on Archive Page
- WordPress admin area: select box with 12.000+ options
- How to delete WooCommerce Products than have a specific custom field?