TranslatePress | secondary language category/sub-category not working correctly “`/%category%/%postname%/“`
TranslatePress | secondary language category/sub-category not working correctly “`/%category%/%postname%/“`
TranslatePress | secondary language category/sub-category not working correctly “`/%category%/%postname%/“`
Safest way to create a custom permalink
You can fetch images (All types of media Items) that are hosted somewhere with a plugin External Media without Import By using this plugin you don’t require to upload media items to your wp site locally because you can fetch them directly from other sources. I used this app before and it’s work excellent for … Read more
Can I change the URL structure for a CPT only?
Custom child page permalink
Sorted this out. In my case, I had Category base also set to news-insights, so WordPress was trying to find a category with the slug of the post. Removing the category base solved the issue.
How to transform multiple parameter URL to clean URL
Include specific category in URL automatically
Use a different URL path / permalink for CPT
You can use the template_redirect action to add /search/ to your search URL’s. Check out the code below: function my_change_search_url() { if ( is_search() && ! empty( $_GET[‘s’] ) ) { wp_redirect( home_url( ‘/search/’ ) . urlencode( get_query_var( ‘s’ ) ) ); exit(); } } add_action( ‘template_redirect’, ‘my_change_search_url’ );