How to redirect from old standard wordpress permalink structure to new custom one
You can use Redirection plugin from WordPress plugin directory. It’s FREE.
You can use Redirection plugin from WordPress plugin directory. It’s FREE.
get_permalink is causing a whitescreen
Most likely, you have created custom permalinks that are in conflict with default WP permalinks. Unfortunately, WP doesn’t validate permalinks rules, and it is very easy to create conflicted permalinks rules. Rules have priority hierarchy, and when resolving any request, WordPress goes through the list of rules, until it matches first one. It is possible … Read more
I am not sure on your terminology there (“plan” vs “post type” permalinks bit). In general the rules are generated and persistently saved when you change anything in Permalink Settings. Or something else like plugin initiates the process. When you change settings you “previous” state ceases to exist, rules are generated for the current and … Read more
How to add category base prefix to wordpress permalink
In general only admins can change the post slug (effective the url), therefor as long as not everybody is an admin, the admin can go and change it without the author being able to modify it. Same goes with the title tag, whatever SEO plugin you are using, make sure it lets only an admin … Read more
WordPress has very limited control over the embedded content. When you put URL to YouTube video (for instance), WordPress calls the oEmbed URL for that service (YouTube in this case), and YouTube returns the complete HTML for embedding the content. That can be a different thing, including IFRAME, and each service has own oEmbed content … Read more
You can do this with a combination of rewrite endpoints and the pre_get_posts action. First, your taxonomy has to be registered with some specific rewrite arguments to enable this, particularly, ep_mask: register_taxonomy( ‘customtax’, ‘posttype’, array( ‘rewrite’ => array( ‘slug’ => ‘custom-tax’, ‘hierarchical’ => true, ‘ep_mask’ => EP_ALL ), // other args… ) ); You can … Read more
Page as parent for CPT and other pages
Permalink change during save of post