node_alias_link_display
129 sites
No security coverage
Node Alias Link Display automatically replaces internal links in content that point to /node/{nid} with the corresponding path alias (e.g., /news/my-article). This improves the readability and SEO of your content by ensuring friendly URLs are always used, even when editors paste canonical node links.
Summary
Replaces internal node links like /node/123 in content with their friendly path alias (e.g., /news/my-title) for better SEO and user experience. Works as a Drupal text filter.
Features
- Automatically scans rendered content for anchor tags linking to /node/{nid}.
- Replaces canonical node links with their proper path aliases.
- Fully multilingual: respects language context and path alias translations.
- SEO-friendly: improves URL readability for users and search engines.
- Integrated as a Drupal text filter—can be enabled per text format.
When to use this module?
- When editors paste internal node links using the /node/123 format into WYSIWYG editors.
- When you're aiming to ensure all rendered URLs are SEO-friendly.
- In multilingual sites where canonical URLs do not reflect the translated alias.
Post-Installation
Once installed:
- Navigate to Configuration > Content authoring > Text formats and editors.
- Edit the text format you want this filter to apply to (e.g., "Full HTML").
- In the Filters section, enable Node Alias Link Display.
- Save the text format.
No further configuration is necessary. The filter will automatically convert all /node/{nid} links to aliases at render time.
Node Alias Link Display stands out for its multilingual capabilities and simplicity of integration as a single text filter.