Page 1 of 1

Products may be accessed using SEO friendly URLs like /my-product instead of /catalog/product/view/id/{ID} How is this o

Posted: Sat Aug 20, 2022 7:54 am
by answerhappygod
Products may be accessed using SEO friendly URLs like /my-product instead of /catalog/product/view/id/{ID}
How is this one?

A. An event observer adds RewriteRules to .htaccess on product save
B. Magento\Catalog\Controller\Product\View::loadByUrlKey loads product pages using the url_key attribute value
C. Using a URL Rewrite stored in the database connecting the request path with the target path
D. A plugin on \Magento\UrlRewrite\Controller\Router::match loads products by the url_key attribute