Dino Geek, try to help you

How to use URL aliases in Drupal 8?


1. Enable the Path module: Check if the Path module is enabled in Drupal. To do so, go to “Extend menu” in Drupal’s Administration panels and ensure that the checkbox next to “Path” is checked.

1. Create an alias: Go to “Content > Add content” to add a new page (or select the existing content to edit) and enter the URL path and title as you usually do. Below the default URL fields, you will find a new field labelled “URL alias”. Enter the URL alias for that particular page (without the domain name or trailing slash) and save the content.

1. Add a pattern for URL aliases: If you want to create URL aliases in bulk or for several pages, you can use a pattern that applies to multiple pages. To do this, go to “Configuration > Search and metadata > URL aliases > Patterns” and click “Add URL alias pattern”. Enter the pattern for the URL aliases, such as “page/[node:title]” and save the pattern.

1. Test the URL alias: After setting the URL alias or pattern, check the new URL. Browse to the URL to check that it redirects to the original page. If it does not work, check for any errors or validations.

1. Edit or delete URL aliases: To modify, disable or delete an existing URL alias or pattern, go to “Configuration > Search and metadata > URL aliases”. Use the filter tools to find the relevant URL alias, click on the edit icon, and then make the necessary changes. Save the modifications or delete the URL alias as required.


Simply generate articles to optimize your SEO
Simply generate articles to optimize your SEO





DinoGeek offers simple articles on complex technologies

Would you like to be quoted in this article? It's very simple, contact us at dino@eiki.fr

CSS | NodeJS | DNS | DMARC | MAPI | NNTP | htaccess | PHP | HTTPS | Drupal | WEB3 | LLM | Wordpress | TLD | Domain name | IMAP | TCP | NFT | MariaDB | FTP | Zigbee | NMAP | SNMP | SEO | E-Mail | LXC | HTTP | MangoDB | SFTP | RAG | SSH | HTML | ChatGPT API | OSPF | JavaScript | Docker | OpenVZ | ChatGPT | VPS | ZIMBRA | SPF | UDP | Joomla | IPV6 | BGP | Django | Reactjs | DKIM | VMWare | RSYNC | Python | TFTP | Webdav | FAAS | Apache | IPV4 | LDAP | POP3 | SMTP

| Whispers of love (API) | Déclaration d'Amour |






Legal Notice / General Conditions of Use