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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply