Skip to main content
Drupal Documentation for SCLS

Main navigation

  • Home
  • How-To Info for Library Staff
  • Drupal 10
  • Help

Breadcrumb

  1. Home
  2. How-To Info for Library Staff
  3. Paths and URL Aliases

URL Redirects

When a path changes, redirect

Sometimes a path or URL alias change is necessary. You can minimize the impact of the change by taking these steps:

  1. On your site, update links and references to the old path. You may find these within the text of your pages, in blocks, etc.
  2. Change bookmarks, homepages, and shortcuts on your computer(s) to use the new path.
  3. Set up a redirect to ensure that visitors requesting the old path are automatically sent to the new one.

Creating redirects

When a new site goes live, path changes and redirects are commonly necessary, especially if the old and new sites use different path patterns. Example:

  • Old site path: http://www.example.org/page-name.html
  • New site path: http://www.example.org/my-custom-path
  • A redirect will help visitors who request http://www.example.org/page-name.html get to http://www.example.org/my-custom-path.
  1. Go to Configuration > [Search and metadata] URL redirects
    Image
  2. Click Add redirect
    Image
  3. For "From," enter the old path. For "To," enter the new path.
    Image
  4. Click Save.
  5. Repeat steps 2-4 as needed to create redirects for the old paths that are relevant to your site.
  6. Monitor the "Fix 404 pages" tab for pages where you might consider setting up additional redirects.
    Image

More about Redirects

These Drupal modules (available for all SCLS-hosted Drupal sites) manage your site's URL redirects:

  • Global Redirect: searches for aliases of requested URLs and redirects if found.
  • Redirect: manages redirection from old URLs to new URLs. (Redirect documentation)

Book traversal links for URL Redirects

  • Paths and URL Aliases
  • Up
  • Configuring Site Information
  • Managing Accounts for Your Drupal Site
  • Images
  • Creating and Editing Website Content
  • Uploading Files to Media
  • Changing Menu Links
  • Creating Photo Albums & Galleries
  • Folders, Directories, and File Structure
  • Blocks
  • Paths and URL Aliases
    • URL Redirects
  • Configuring Site Information
  • Developer Permissions
  • Homepage Variations
  • Events/Programs with repeating dates
  • Registration for Events/Programs
  • What is Cron?
  • Avoid mixed content warnings (HTTPS/HTTP)
  • LINKcat Title List (Experimental)
  • Performance settings: Cache pages for anonymous users
  • Slick Carousel
  • Uploading Files with IMCE

Tags

accordion (1)
account (2)
anchors (1)
blocks (0)
cache (1)
carousel (2)
CKEditor (5)
configuration (1)
content types (1)
CSS (1)
disable rich-text (1)
Drupal 10 (15)
Drupal 9 (16)
email (2)
embed code (1)
Entity Registration (5)
events (6)
file browser (1)
files (4)
files media (1)
folders (1)
formatting (2)
front page (3)
Google Analytics (1)
headings (2)
HTML (1)
iframe (2)
images (4)
imce (1)
Layout Builder (3)
link a pdf (1)
links (5)
login (1)
media (2)
menus (3)
nodes (1)
openid (1)
paste as plain text (1)
paths (4)
performance (1)
photo albums (1)
photo galleries (1)
redirects (3)
registration (5)
remove format (1)
repeat dates (2)
reports (1)
revisions (1)
sidebars (0)
site name (1)
slogan (1)
source (1)
sticky (2)
text formats (1)
themes (1)
toolbar (2)
URL aliases (4)
Webform (2)
widget (1)