How to Use Forward Slash in WordPress URL?

When you create a new post or page in WordPress the default link suggested by WordPress is the lower case post name with hyphens for the blank spaces. For this post it would be

how-to-use-forward-slash-in-wordpress-url

If you try to edit the URL and add a slash somewhere you will quickly notice that wordpress does not allow you to do that. In this case I want to change the url to

wordpress-tutorial/how-to-use-forward-slash-in-wordpress-url

however the result is

wordpress-tutorial-how-to-use-forward-slash-in-wordpress-url

How to use Slash in URL?

To use a slash in the URL you need to install the Custom Permalinks plugin. Once activated you can create WordPress URLs in any form that you want.