When working with your nodes (content unit such as Articele, page, etc), they are assigned a default node identifier. This identifier becomes part of the URL that specific page. For example, the first node you create, whether it be an Article or a Basic Page, the identifier will be /node/1 as it is the first content node created. Subsequent nodes are always numbered sequentially so the next one would be node/2. The URL for the first node will be http://example.com/node/1. This is not very descriptive, however. You may wish to have more descriptive identifiers in the URL, such as http://example.com/firstpage. This can be done by creating an alias. The alias can be customized so that the URL will be more understandable by humans. Below is a guide on how to add custom aliases to your nodes to increase user-friendliness in your Drupal 8 website.

How to change node aliases in Drupal 8

  1. Log into your Drupal 8 interface.
  2. select menu option from toolbarUsing the toolbar across the top of the screen, click on the Menu link.
  3. select the content menu optionAnother menu bar will appear directly under the first one. From here, select the Content option.
  4. click on the edit buttonThis leads you to the main content page displaying a list of all current nodes (basic pages, articles,etc) that exist on your site. Locate the node you wish to work with and click on the Edit link at the end of its respective row under the Operations column. In this example we will select the Introduction page.
  5. enter your node aliasNow that you are on the content editor page, look to the right hand sidebar and click on the URL Settings category. This will expand the area and allow you to insert your custom alias in the URL alias field. For our example, we will enter the alias intro.
  6. Once you have chosen and entered an alias, click on the Save and keep published button at the bottom of the page. This will activate the new alias for the node. As you can see below, the URL for the Introduction page is now /drupal8/intro, which is more readable and memorable than the previous URL of /drupal8/node/4.
    BeforeAfter
    before the alias is changedafter the alias is changed
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201005

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!