Purpose of "url_alias" table in database?

Posted on 2013-11-27
Medium Priority
Last Modified: 2013-12-13
Doing some investigation involving the url_alias table in the Drupal database.

What's the purpose of the table? Is it programmed to flush periodically?


My investigation involves a claim by customer that the version at the site's launch three weeks ago is different from today's version.

It is. But I don't know if that's normal?
Question by:sandshakimi
LVL 13

Accepted Solution

Aaron Feledy earned 2000 total points
ID: 39682064
The url_alias table is where Drupal stores its path alias for pages. For example, if you create a page, its regular path is something like node/12 unless you specify a URL alias for it such as about-us. When you do that, and entry is created in this table that contains about-us as an alias for node/12. Now when a user visits yoursite.com/about-us, they will be shown the node/12 page.

It does not flush. Usually it is only changed by manually changing the URL alias when editing a node. Otherwise a contrib module might be changing it. If you installed pathauto, the path may be updated to match defined patterns when a page is edited.
LVL 17

Expert Comment

ID: 39683706
Did someone change the title of the page? That changes the URL alias as well.

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question