Log in

CatalogUrlRewrite Module

CategoryBasedProductRewriteGenerator

Model

This class generates URL rewrites for products based on their category associations. Developers use it when a product needs category-specific URLs cre...

CategoryProductUrlPathGenerator

Model

This class generates URL rewrites for products based on their category assignments. Developers use this when products need SEO-friendly URLs that incl...

CategoryUrlPathGenerator

Model

This class generates and manages URL paths for categories in Magento 2's catalog system. Developers use it when creating or updating categories to aut...

CategoryUrlRewriteGenerator

Model

This class generates URL rewrites for categories in Magento 2, creating SEO-friendly URLs that map to category pages. Developers use it when categorie...

Category\CanonicalUrlRewriteGenerator

Model

This class generates canonical URL rewrites for category pages in Magento 2. It creates a single URL rewrite entry that maps a category's SEO-friendly...

Category\ChildrenCategoriesProvider

Model

This class retrieves child categories of a given parent category in Magento 2. Developers use it when generating URL rewrites for categories to ensure...

Category\ChildrenUrlRewriteGenerator

Model

This class generates URL rewrites for all child categories when a parent category is updated. Developers would use this when a category's URL key or p...

Category\CurrentUrlRewritesRegenerator

Model

This class regenerates URL rewrites for categories when category URLs change, preserving old URLs as redirects if history saving is enabled. Developer...

Category\Product

Model

This model represents the relationship between categories and products for URL rewrite purposes. Developers would use this class when they need to man...

GetAttributeByStore

Model

This model retrieves attribute values for products or categories across multiple store views. Developers use it when they need to get store-specific a...

GetVisibleForStores

Model

This class determines which store views a product is visible in by checking the product's visibility attribute across different stores. Developers use...

Map\DataCategoryHashMap

Model

This class provides a cached mapping of category IDs to their subcategory IDs in Magento 2's URL rewrite system. Developers use it to efficiently retr...

Map\DataCategoryUrlRewriteDatabaseMap

Model

This class manages a temporary database map for category URL rewrites in Magento 2. It creates and queries temporary tables to efficiently retrieve al...

Map\DataCategoryUsedInProductsHashMap

Model

This class retrieves and caches category IDs that are associated with products in a given root category, but excludes categories that are already part...

Map\DataProductHashMap

Model

This class manages a hash map of product IDs that belong to a specific category and all its subcategories. Developers use it when working with URL rew...

Map\DataProductUrlRewriteDatabaseMap

Model

This class manages a temporary database mapping for product URL rewrites within a specific category. Developers use this during URL rewrite generation...

Map\DatabaseMapPool

Model

This class manages a pool of database map instances for catalog URL rewrite operations, creating and caching them by instance name and category ID. De...

Map\HashMapPool

Model

This class manages a pool of hash map instances used during URL rewrite generation for catalog categories. Developers use it to retrieve and cache has...

Map\UrlRewriteFinder

Model

This class is responsible for finding URL rewrites for catalog entities (products and categories) in Magento 2. It uses optimized database maps for fa...

ObjectRegistry

Model

This class serves as a simple in-memory registry for storing and retrieving Magento entities (like products or categories) by their ID during URL rewr...

ProductScopeRewriteGenerator

Model

This class generates URL rewrites for products across different store scopes (global, website, or store view) in Magento 2. Developers use it when pro...

ProductUrlPathGenerator

Model

This class generates URL paths and URL keys for product pages in Magento 2. Developers use it when creating or updating product URLs, generating SEO-f...

ProductUrlRewriteGenerator

Model

This class generates URL rewrites for products in Magento 2, creating SEO-friendly URLs that map to product pages. Developers use this when products a...

Product\AnchorUrlRewriteGenerator

Model

This class generates URL rewrites for products within anchor categories in Magento 2. When a product is associated with categories that have anchor pa...

Product\CanonicalUrlRewriteGenerator

Model

This class generates canonical URL rewrites for products without category associations in Magento 2. Developers use it when creating standalone produc...

Product\CategoriesUrlRewriteGenerator

Model

This class generates URL rewrites for products when they are associated with categories. Developers use this when they need to create SEO-friendly URL...

Product\CurrentUrlRewritesRegenerator

Model

This class regenerates URL rewrites for products when their URLs change, preserving redirect history if configured. It handles both regular product UR...

Product\GetProductUrlRewriteDataByStore

Model

This class retrieves and caches product URL rewrite data (visibility and url_key) for specific store views. Developers use it when generating or regen...

Product\Validator

Model

This validator ensures that product URL keys don't conflict with existing URL rewrites in the store. Developers use this class when saving or updating...

Products\AdaptUrlRewritesToVisibilityAttribute

Model

This class manages URL rewrites for products when their visibility attribute changes. It deletes URL rewrites when products are set to 'Not Visible' a...

Products\AppendUrlRewritesToProducts

Model

This class manages URL rewrites for products across multiple store views. Developers use it when products need new or updated SEO-friendly URLs, parti...

ResourceModel\Category\GetDefaultUrlKey

Model

This class retrieves the default URL key value for a category from the database. Developers use it when they need to fetch a category's default store...

ResourceModel\Category\Product

Model

This resource model manages the relationship between product URL rewrites and categories in Magento 2. Developers use it to bulk save, remove, or clea...

ResourceModel\Product\GetUrlRewriteData

Model

This class retrieves URL rewrite data for products from the database, specifically fetching the url_key and visibility attributes across different sto...

Storage\DbStorage

Model

This class extends the base URL rewrite database storage to handle catalog-specific URL rewrites with category-product relationships. It customizes da...

Storage\DynamicStorage

Model

This class handles dynamic URL rewrite storage for product URLs in Magento 2, specifically managing the relationship between products and categories i...

TableCleaner

Model

This class automatically cleans up URL rewrites from the database when the 'generate_category_product_rewrites' configuration option is disabled. It r...

UrlRewriteBunchReplacer

Model

This class handles bulk replacement of URL rewrites for catalog entities by processing them in manageable batches. Developers use this when updating o...