Multiple permalink with and without category for same post
Multiple permalink with and without category for same post
Multiple permalink with and without category for same post
So I ended up just adding the meta after inserting the post, which doesn’t give any error. It bypasses the problem without explaining it though… $postarr = array( ‘post_title’ => $link[‘caption’], ‘post_type’ => ‘ct_external_link’, ‘post_status’ => ‘publish’, ‘post_excerpt’ => $link[‘caption’], ); $external_link_id = wp_insert_post($postarr); if( !empty($external_link_id) ) { add_post_meta($external_link_id, ‘ct_external_link_url’, $doc[‘file’], true); if( isset($doc[‘hide’]) ) … Read more
As you can see in The WordPress Template Hierarchy, you must create a taxonomy template. Basically, you have two options: 1) taxonomy.php: if all terms share the same design. 2) taxonomy-{slug}.php: if each term has its own design (different colors, layout etc).
“Users” are basically “authors” in WordPress so those pages are available at example.com/author/{user-name}/ (with or without the trailing slash) and what you are looking for is actually to change the “author permalink base” for the URL rewrite. eg: add_action( ‘init’, ‘set_custom_author_base’ ); function set_custom_author_base() { global $wp_rewrite; $wp_rewrite->author_base=”user”; } You can then add (or modify) … Read more
This indicates that the SSL certificate was not installed correctly, or that the server is not configured to accept SSL connections. It is not an error with the certificate per se, but rather with the server setup / installation of that certificate. The web browser is failing to even connect to the server over HTTPS, … Read more
I have Akamai pointing to a WordPress installation with a different URL. Is there a way to make WordPress use this for link generation?
You can set a canonical URL: <link rel=”canonical” href=”https://www.amaoni.de/shop/hundebetten” /> which will tell search engines that those pages are copies of each other (just with different filters). You can also tell Google, via Webmaster tools, which URL parameters to ignore (your filters). See this Help Centre article: https://support.google.com/webmasters/answer/6080548?hl=en
Post links broken after migration
You cannot do this without modifying WordPress core files.
Can I add a rewrite rule in htaccess to remove the multisite subdirectory from the URL?