Solved

Purpose of "url_alias" table in database?

Posted on 2013-11-27
2
210 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
Comment Utility
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
Comment Utility
Did someone change the title of the page? That changes the URL alias as well.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

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 …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now