MageSmith

📄 Magento_UrlRewrite · engine innodb

url_rewrite

Url Rewrites

Neighbourhood (1-hop foreign-key graph — showing 1 of 1)

flowchart LR
  c["url_rewrite"]:::center
  n0["catalog_url_rewrite_product_category"]
  click n0 "/schema/table/catalog_url_rewrite_product_category"
  c -- url_rewrite_id --> n0
  click c "/schema/table/url_rewrite"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (10)

NameTypeNullDefaultComment
url_rewrite_id PKint unsignednoRewrite ID
entity_type varchar(32) noEntity type code
entity_id int unsignednoEntity ID
request_path varchar(255) yesRequest Path
target_path varchar(255) yesTarget Path
redirect_type smallint unsignedno0Redirect Type
store_id smallint unsignednoStore ID
description varchar(255) yesDescription
is_autogenerated smallint unsignedno0Is rewrite generated automatically flag
metadata varchar(255) yesMeta data for url rewrite

Keys & indexes

Primary key: url_rewrite_id

Unique

  • URL_REWRITE_REQUEST_PATH_STORE_ID (request_path, store_id)

Indexes

  • URL_REWRITE_TARGET_PATH (target_path) btree
  • URL_REWRITE_STORE_ID_ENTITY_ID (store_id, entity_id) btree
  • URL_REWRITE_ENTITY_ID (entity_id) btree
  • URL_REWRITE_IS_AUTOGENERATED_METADATA (is_autogenerated, metadata) btree

Referenced by (1)