Viewing 1 replies (of 1 total)
  • Hey @capilta
    Sorry for the delay!

    Actually, I want
    1) Blog Url will be – https://domain.com/blog/{blog url}/
    2) weDocs Url will be – https://domain.com/docs/{we-doc url}/


    1) Set site/blog permalink as custom – https://prnt.sc/26bhe51.
    2) Use this code snippet in your theme functions.php file to rewrite the URL for docs.

    /**
     * Set 'with_front' to false using weDocs filter 
     */
    add_filter( 'wedocs_post_type', function($args) {
    
        $args['rewrite']['with_front'] = false;
    
        return $args;
    } );

    I hope this will get your job done!

    By the way, don’t forget to share a review/rating HERE if you are enjoying our product & this was helpful to you!??

Viewing 1 replies (of 1 total)
  • The topic ‘How to set custom Url’ is closed to new replies.