• Resolved awldae33

    (@awldae33)


    Love the Cherry Services plugin, but would prefer to change the URL/Permalink structure from sitename.com/cherry-services/postname to something different like sitename.com/services/postname. The functionality of the plugin is great, but seeing “cherry-services” in the URL of a corporate website just looks strange to me. Is it possible to change this structure?

    Thanks for any help or suggestions!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter awldae33

    (@awldae33)

    Submitted a help ticket and got a quick response from support team that addresses the issue. If anyone else is looking to change this, follow these instructions and then re-save your permalinks settings twice:

    Please add the following code to functions.php file:

    add_filter( 'cherry_services_post_type_args', '_my_rewrite_slug' );
    function _my_rewrite_slug( $args ) {
    $args['rewrite']['slug'] = 'new-slug';
    return $args;
    }

    Where new-slug would be your new slug instead of cherry-services

    • This reply was modified 9 years, 3 months ago by awldae33.
    • This reply was modified 9 years, 3 months ago by awldae33.
    • This reply was modified 9 years, 3 months ago by awldae33.

    After changing the file, an error 404

    Thread Starter awldae33

    (@awldae33)

    Have you resaved your Permalinks twice? I’ve made this modification in three sites now and it’s worked fine each time. I do get the 404 error initially, but after resaving Permalinks settings it operates normally.

    It doesn’t work

    I followed the instructions and it works. Thank you very much for the solution.

    Thanks, works after all steps done 🙂

    • This reply was modified 8 years, 7 months ago by Damjan.

    Works just fine thank you for that I was getting frustrated…

    Is it possible to remove the links all together? I would just like the services to be listed on a page temporily until the other pages have been added.

    Thanks for any help.

    Is it possible to remove the links of cherry-services? I would just like the url of every services contain only the name of the domain an the the name of the service without any words in middle, as domain.com/service

    Thanks for any help.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Removing “/cherry-services/” from Permalinks?’ is closed to new replies.