• Resolved secondsky100

    (@secondsky100)


    Is there a way to use the root of the wordpress URL, means if i go to a subdomain, that i dont need a “docs” slug? But just help.xxx.com bringing me directly to betterdocs?
    Like betterdocs “homepage”…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter secondsky100

    (@secondsky100)

    Right now i just use this to redirect to the docs slug (as an empty slug is not possible as it seems):

    add_action('template_redirect', 'default_page');
    function default_page(){
        if(is_home() or is_front_page()){
           exit( wp_redirect("https://help.xxxxxx.com/docs"));
        }
    }
    Plugin Support Mahbub Shovan

    (@mahbubshovan)

    Hi @secondsky100,
    Hope you are doing well.

    Right now, it’s not possible to add BetterDocs Documentation on the root slug of your website. But we do have a plan to implement this option soon.

    Thank you!

    @mahbubshovan is there any news/update on this functionality?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make BetterDocs root page’ is closed to new replies.