UrlRewrite Module
CompositeUrlFinder
This class acts as a composite pattern implementation that delegates URL rewrite lookups to multiple child URL finder classes. Developers use this whe...
Exception\UrlAlreadyExistsException
This exception is thrown when attempting to create a URL rewrite that already exists in the database for a specific store. Developers catch this excep...
MergeDataProvider
This class serves as a container for URL rewrite data, automatically removing duplicates based on a combination of request path and store ID. Develope...
Model\Message\UrlRewriteExceptionMessageFactory
This factory creates user-friendly error messages specifically for URL rewrite exceptions in Magento 2. When a UrlAlreadyExistsException occurs (dupli...
Model\ResourceModel\UrlRewriteCollection
This collection class is used to retrieve and manipulate sets of URL rewrite records from the database. Developers use it to query URL rewrites with b...
Model\StorageInterface
This interface defines the contract for URL rewrite storage operations in Magento 2. It combines URL finding and persistence capabilities by extending...
Model\UrlFinderInterface
This interface defines methods for finding URL rewrites in Magento 2. Developers use it to locate URL rewrite entries by specific criteria, either ret...
Model\UrlPersistInterface
This interface defines the contract for persisting URL rewrites in Magento 2. Developers use implementations of this interface to save new URL rewrite...
OptionProvider
This class provides redirect type options for URL rewrites in Magento 2. Developers use it to populate dropdown menus in admin forms where users need...
ResourceModel\UrlRewrite
This resource model handles database operations for URL rewrites in Magento 2. Developers use this class when they need to persist or retrieve URL rew...
Storage\AbstractStorage
This abstract base class provides the foundation for URL rewrite storage implementations in Magento 2. Developers extend this class to create custom s...
Storage\DbStorage
This class manages database operations for URL rewrites in Magento 2, handling storage, retrieval, and deletion of URL rewrite records. Developers use...
StoreSwitcher\RewriteUrl
This class handles URL rewriting when customers switch between different store views in a multi-store Magento installation. It finds the equivalent UR...
UrlRewrite
This model class manages URL rewrites in Magento 2, handling the storage and manipulation of URL rewrite data including request paths, target paths, a...
UrlRewrite
This helper class validates URL rewrite request paths and suffixes in Magento 2. Developers use it to ensure URL rewrites don't contain invalid charac...