• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

Purpose of "url_alias" table in database?

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
sandshakimi
Asked:
sandshakimi
1 Solution
 
Aaron FeledyDrupal Developer and ConsultantCommented:
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
 
nanharbisonCommented:
Did someone change the title of the page? That changes the URL alias as well.
0
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

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now