Files rendering adding “.x95527” before file extension [closed]
Files rendering adding “.x95527” before file extension [closed]
Files rendering adding “.x95527” before file extension [closed]
Have different permalinks based on category
If you need a easy solution, you can try out the Custom Post Type Permalinks plugin. Hope this helps.
The problems that I face is already described in detail. As I guess that wordpress rewrite api can solve this problem so I have found that solution. I only have two main category for my posts so I map those to my properties because as I am removing custom_post_type name from url so there should … Read more
get_permalink() is not working after published
EDIT Since, as you mentioned it in comments, it can have several values, maybe we could retrieve the city list and set corresponding rewrite rules like so? assuming $city_list is an array of cities foreach ($city_list as $city) { add_rewrite_rule(‘/^’. $city .’/destination/’. $city .’$/’,’index.php?p=idofyourhomepage’,’top’); } How about trying some rewrite rules. add_rewrite_rule(‘/^london/destination/london$/’,’index.php?p=idofyourhomepage’,’top’); Or add_rewrite_rule(‘/^london/destination/london$/’,’index.php?pagename=nameofyourhomepage’,’top’); Go … Read more
hierarchical must be set to true and make sure you have the Article post type set as the parent of the science post type ….and be sure to flush the permalinks after making changes
I don’t think you can use a period in the category base field. If you are looking to remove the category base completely there is a plugin for that – https://wordpress.org/plugins/remove-category-base-littlebizzy/
WooCommerce product category permalinks
How do I change the permalink of a scheduled post so that it can be linked to?