A URL alias is when you create a specific, descriptive URL for a page you’ve created. There are three main benefits of using a URL alias:
You can create a more descriptive and meaningful URL for users
The URL alias is read by search engines, as such it is an important part of search engine optimisation (SEO)
Your website will look more professional
In this exercise you’ll learn how to update a page’s URL alias.
Add a Standard Page: go to Content → Add content → Standard Page
Fill out the required fields, such as Title and Body, then in the right-hand side of the form, click to expand the URL Alias section
Uncheck Generate automatic URL Alias
Make sure the "URL alias" field is empty
Mark the content to be Published
Save the page
Navigate to the page you saved - note the URL
Your content should have a URL something like http://example.com/node/100. In this example “node/100” is the Drupal path for the page.
In this exercise you’ll learn how to create a URL alias.
Return to edit the page from the previous exercise
Set a custom URL alias, such as /important-content-page (you may create your own)
Save the page. What’s the new URL for your page? Does the node/100 path still work? (The node ID number - 100 - will differ for you.)
Next, return to Edit the page from step 1
Under the URL Alias section on the right-hand side, check the Generate automatic URL alias box
Save the page - compare the results
Check if the internal path (such as node/100) still works
Check if the manually entered URL alias from step 2 is still functional
Ask your trainer any questions