Solved

Purpose of "url_alias" table in database?

Posted on 2013-11-27
2
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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 …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

628 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