Thursday, November 27, 2014

How to Customise URL in Drupal 8

  1. Log into your Drupal 8 admin interface.
  2. Click on the Menu from the upper menu toolbar.
  3. Another upper toolbar will appear directly beneath the first, click on the Content option.
  4. You will see a list of all created content. Locate the item you want to create the Clean URL for and click on the Edit option from the dropdown on the far right of the row for that item.
  5. Once on the edit page for the selected content, look to the right-hand sidebar and click on the URL Path Settings link to expand the section. From there, enter the preferred name of the node. For instance, our article will use the alias lorem.
  6. Once you have entered the new alias information, click on the Save and keep published button at the bottom of the page. This will save and activate your new alias. Below is a shot of the URL for the Lorem article both before and after we set the URL alias.
    BeforeAfter
    URL before the clean URL changeURL after the clear URL change

No comments:

Post a Comment

Dharamart.blogspot.in