Solved

Purpose of "url_alias" table in database?

Posted on 2013-11-27
2
219 Views
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?
0
Comment
Question by:sandshakimi
2 Comments
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 500 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.
0
 
LVL 17

Expert Comment

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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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