I’m getting 404 when editing a post with hyperlink, what’s wrong?

Try these – Have you checked your php error_log ? – You have already tried disabling plugins and stuff, try changing the default theme and see if you still get this error – Check the code for instances of save_post hook , if any, which might be causing trouble https://codex.wordpress.org/Plugin_API/Action_Reference/save_post – turn on wp_debug, add … Read more

Some permalinks on Apache/localhost development setup return 404’s when set to anything other than plain permalinks

The slug you use for the CPT looks very weird. You should inspect the rewrite rules being used in parsing a request with something like the query monitor plugin, but the gut feeling is that your CPT slug makes all URLs to match it and since there is no CPT for the URL of a … Read more

Getting a Error 404 Not Found on subcategory

The cause of this issue for future reference was the ‘.’ in the category base, which was added to resolve a previous issue. Removing this and using /category/postname (per question) works, so will look for an alternative resolution to the category base issue.

Custom Post Type slug and WPML gets 404 error

My solution is for a WordPress Installation (Version 5.2.2), for translation is only WPML Multilingual CMS (Version 4.2.7.1) installed. The modules WPML String Translation (which is very performance-consuming) and WPML Translation Management are not required. I’m using this WPML url structure: www.url.com/en/postname. My Custom Post Type should have the slug “produkte” in German, “products” in … Read more

How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?

If I try to add &posts_per_page=15 to url, it doesn’t work: it won’t change number of post. I wonder if you’re looking for a custom query variable, e.g. ppp, to change the number of posts for the main query: add_filter( ‘query_vars’, function( $vars ) { $vars[] = “ppp”; return $vars; } ); add_action( ‘pre_get_posts’, function( … Read more