Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @aslamdev

    Are you trying to remove the default ‘docs’ slug and make it straight site.com/your-wedocs-link like the default WP post URL/permalink site.com/hello-world?

    This filter will help you to change the default ‘docs’ slug but you can’t completely remove the slug.

    Note: make sure you have flushed site permalink after applying the filter; otherwise, it will return 404 on the frontend.

    Thanks.

    Hi,

    Due to the inactivity of the topic, I’m making this as resolved.

    Feel free to open a new topic for further queries.
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change permalink from ‘/docs/’ to ‘/’ that means main page.’ is closed to new replies.