I very much doubt you can universally “trick” all plugins without touching at least some of some plugin code, but I think your best bet would be filters on the_permalink
and post_link
, and maybe pre_post_link
. Even if you got that working it would be pretty “heavy”. That is, a lot of processing happens before you get to interrupt things.
Related Posts:
- How to call a plugin function from index.php
- Rewriting every url
- Change post permalink to external URL from custom field
- Share buttons on article footer
- Prevent page slug from interfering with custom post type archive permalink?
- Passing URL parameters to WordPress pages and pretty url
- Change Permalinks Structure to a Sequential Number for Each Post?
- Publish Post After Click On A Link
- How to prefix `attachment` permalinks with `attachment`?
- Alter post slug by a filter that is fired just after a post is created
- How to get the custom page get_permalink?
- How to set “with_front’=>false” to a plugin-generated cpt?
- WP get_permalink Return Wrong URL
- How to add nofollow on all external links without plugin?
- Custom url structure for custom template
- How do I customize my WordPress shortlink structure in link-template.php without a plugin?
- Add a Custom Permalink option in the Permalink Admin Screen?
- How to include DW Question & Answer plugin in front page template?
- How to get the permalink of a page when loading my plugin
- Mixed unrelated taxonomy in permalink
- Rewrite url without flushing the database?
- How do I add a custom sub menu menu under Woo-commerce marketing?
- Changed permalink structure. Need help with redirecting old posts
- Change permalink structure hidden button edit
- How get a value from a plugin into another plugin through action/filter
- Load custom PHP on a custom URL via a plugin
- How to change custom post type pemalink Hierarcy
- Social sharing toolkit is not showing on ajax load
- resetting permalinks after changing page names
- Plugin appends ugly URL string to index
- How to make a proper custom post type link
- Pagination Broken on Static Pages but Works on Blog Articles
- AddToAny shortcode in the loop
- ‘No Results Found’ on single post for custom post type
- Outbound link autometic converted into linkdirect , and not opening
- LinkedIn Social Wall | Is there a plug-in (Free / Paid) to display a LinkedIn feed in a social wall (not just a feed)?
- Is it possible to use multiple post_name, post_title and post_content?
- Modifying Author Link to add Author Meta in URL
- SEO Friendly URL on dynamic product page produced via shortcode
- Change permalinks of custom post type ‘question’ as post id or any random number once
- Remove /product/ from url. I want only category name then product name
- Redirecting thousands of posts that currently have no category in their permalink when changing permalink structure to include category
- Customize permalink wordpress category id
- Reoccurring 404 Errors on all subpages
- Permalinks stopped working after migration with WP all-in-one migration plugin
- How to remove custom post type and add category and post name
- Perform internal redirect in WordPress?
- Using arbitrary paths in page urls
- “Custom Post Type Permalinks” plugin URL strcuture
- Filtering get_permalink in Jetpack / ShareDaddy
- Custom Permalink Plugin and Current Page/Ancestor in Menus
- plugin links not working [closed]
- Plugin generated taxonomies’ permalinks with custom placeholders
- How to add FB like + share AND also other Social Buttons on ALL pages and posts?
- How to get the permanent link in a plugin?
- This WordPress plugin isn’t creating links correctly
- rewrite_rules() not applying rules on plugin activation only after permalinks menu is clicked
- flush_rewrite_rules() not working with update_option_{$option}
- Add_rewrite_endpoint doesn’t work with post name permalink structure
- Plugin not working & permalink erorr after upgrade to php 7x on Nginx
- Disable plugin If slug contains specific word
- How do I create a custom permalink structure for a page template
- I want to filter my products with attributes [closed]
- Social share buttons text shows up on post excerpts
- How to embed a new string in url?
- Make get_permalink() work outside the Loop using filters
- Plugin for TinyMCE to create reference to other posts
- Permalinks and pagination are not working in WordPress with WP e-Commerce plugin
- help intercepting save_post through plugin
- TranslatePress | secondary language category/sub-category not working correctly “`/%category%/%postname%/“`
- Why the internal link get converted into a comment?
- Rogue splash page keeps popping up
- Social sharing plugin directing to blank page after post sharing
- Coming soon pages with rest of site in maintenance mode
- add_external_rule – rules deleted when visiting permalinks page
- How to disable wordpress page rewrite rule?
- Add Flatr button to Sharing option
- How to programatically create a simple HTML page using the permalink of a WordPress post?
- How to maintain WordPress permalink structure with custom content with URL parameters?
- Change post permalink to external URL from custom field
- Unwanted Links and Spam WordPress Pages and Posts
- Encode URL picked up by Digg Digg
- homepage olderposts link showing page not found
- Slick Social Share Buttons plug-ins with Responsive theme – number of tweets link problem
- 404 not found problem with URL rewrite custom category
- Adding Category in URL in some post
- What is the best way to change share image for social networks? [closed]
- Does anyone have the Custom Post Permalinks plugin from John P. Bloch? [closed]
- Publish post facebook page & twitter automatically [closed]
- How to remove site name (https://exp.com/) from WORDPRESS site source links or file load url
- WordPress Plugin and other pages not opening
- 404 Error on a WordPress Website, Error disappears for a while and again appears
- WordPress Share Buttons Plugin: How do you make the WordPress Share Buttons Display Vertically?
- claim a permalink and all sublinks in plugin
- Getting 400 Error in wordpress website
- Changing the “OT Process” Plugin’s Default Slug of /process/
- How to get selected variation from URL?
- WP_PLUGIN_URL equivalent
- Help Needed: Issue with Change Permalink on DirectoryPress Listing Pages
- WORDPRESS ,Can’t load image of post when sharing post via facebook [closed]