Filter 'term_link'
. Sample code, not tested:
add_filter( 'term_link', 'wpse_72848_change_tag_slug', 10, 3 );
function wpse_72848_change_tag_slug( $termlink, $term, $taxonomy )
{
if ( 'post_tag' !== $taxonomy )
return $termlink;
if ( 'product' === $term->slug )
return str_replace( '/product/', '/product-powerpoint-ppt/', $termlink );
return $termlink;
}
Related Posts:
- Custom pages with plugin
- Add rewrite rule to permalink structure
- Add Rewrite Rule for custom page
- add_rewrite_rule, plugin activation and plugin deactivation
- flush_rewrite_rules not working on plugin deactivation, invalid URLs not showing 404
- Custom rewrite rule is not picked by WordPress
- Does flush_rewrite_rules() remove all rules added by other plugins as well as mine?
- Add_rewrite_rule doesn’t add custom url in plugin
- How can I rewrite a plugin generated URL?
- flush_rewrite_rules() not working on plugin activation
- WordPress custom URL Rewrites redirecting not masking
- How does WP handle multiple matching rewrite rules?
- Custom rewrite rules not working with WPML
- Custom url rewriting
- URL rewrite with external JSON query
- WordPress rewrite rules not working
- Do rewrites added with add_rewrite_rule() persist after plugin deletion?
- i want to rewrite my custom plugin url
- add_rewrite_rule to load different page, without changing URL in browser
- WordPress rewrite rule depend on meta values not ids
- Change custom rewrite rule when permalink is updated/changed
- Custom pages with plugin
- Apache rewrite rules and wordpress problem
- WP Job Manger change jobs url (NOT slug)
- How Do I add a redirect rule to WordPress?
- What is the best way to output plugin result in certain url
- Using rewrite rule to access a view of a plugin from home page
- Add .html extension to custom post type taxonomies
- flush rewrite rules doesn’t flush them (still got 404)
- Woocommerce different URL for every table placed in the restaurant
- Author Specific URL’s in WordPress
- Nested CPT URLs + Posts 2 Posts
- custom taxonomy and custom post type url conflict
- Change settings of get_post_type_object
- Rewrite url without flushing the database?
- Custom page slug without creating a WP page
- WordPress URL redirect
- Best way to hook a custom url?
- Remove rewrite rules generated by plugin during deactivation
- How to Create a Custom Plugin Permalink
- Why slash is removed after domain?
- how to change the verification url of pie register plugin of wordpress?
- Plugin appends ugly URL string to index
- Is it possible to use multiple post_name, post_title and post_content?
- Rewrite rule not matching
- Problem with Author page redirect
- URL rewrite of independent plugin?
- Plugin generated taxonomies’ permalinks with custom placeholders
- Redirect to another page using contact form 7? [closed]
- Locked out of admin panel after installing HC Custom WP-Admin URL [closed]
- WordPress plugin url for form submit
- Creating author Specific page URL
- rewrite_rules() not applying rules on plugin activation only after permalinks menu is clicked
- Username Variable in custom links?
- How to rewrite URL and get the values?
- Passing value as hidden parameter to next page
- How to force load a page in plugin?
- How to embed a new string in url?
- rewrite file to wordpress
- TranslatePress | secondary language category/sub-category not working correctly “`/%category%/%postname%/“`
- Dynamic URL Rewrite for Custom
- can’t install any wp plugins [duplicate]
- Change language on website and change currency with url query
- Hidden permalink different from displayed permalink
- Having a problem with rewrite_rules and rewrite_tags – url not rewriting properly and query var missing
- Rewrite/Change custom taxonomy slug
- Custom Rewrite Rule Removing Query String
- Add custom WordPress admin page with pretty url via code
- How To Use htaccess to Rewrite Link Structure for a Page that is Generated Programatcially
- plugin: rewrite rules are lost when WP updates
- How to give .html extension to just one post not all post
- URL Rewrite 404
- WordPress drop domain alias
- catch urls with specific pattern and show specific content for them by plugin
- I am trying to rewrite urls in WordPress, but its not working
- Get custom term link archive with prefix
- How to regenerate slugs for categories and tag converting non-Latin characters?
- Change default url to plugin custom post type
- Rewrite in plugin
- How to disable wordpress page rewrite rule?
- Disable default posts (Posts,Pages,Comments and Media) in wp-admin
- Creating custom URL for async content
- URL RewriteRule doesn’t work when using WP Database Participants in my WordPress website
- Custom shortcode with dynamic rewrite
- Rewrite URL to plugin file
- How to programatically create a simple HTML page using the permalink of a WordPress post?
- How To Rewrite WordPress Pages URL Only?
- custom url with custom post
- How to remove post redirects
- How to get the parameters on page and avoid 404?
- URL Rewriting from a Plugin based on custom values
- How to create custom content on custom page from plugin?
- How can I process all requests for a given directory in a URL with my plugin?
- Rewrite rule help for gallery plugin
- Plugin with custom domain
- How to get the real address from a url (permalink)
- Remove base from the custom post type URL [duplicate]
- How can I output completely custom content with plugin while still having header, footer, sidebar etc [closed]
- Please Check this ‘.htaccess’ File
- How to rewrite URL using .htaccess in WordPress Plugin