Home Support Themes ListingHive permalink


  • Author
  • kandwal1

    can i remove listing from my link
    i mean i want to show it like that


    It’s possible using a plugin (https://wordpress.org/plugins/remove-cpt-base/) or custom php code but rather I reccommend renaming the slugs using the code provided here https://hivepress.io/support/topic/permanent-link/ that would have as result something like:
    domain.com/ad/cozy-central-studio/ – for single listing
    domain.com/ads/apartments/ = for listings category


    can you please guide me how to apply the code


    Use the code in the functions.php file of your child theme or if you don’t have a child theme you can use this plugin to apply custom codes: https://wordpress.org/plugins/code-snippets/


    sir i have done with cpt plugin
    but old post are not going to open error not found
    and please tell me if there is any type of disadvantages
    thanks for your reply


    The plugin states that “auto redirect old slugs to no-base slugs”, try to clear cache of your browser and also clear cache of cache plugin if your using one.

    That’s why I reccommend rename the slugs instead of remove them, could lead to issues.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.