AD0-E724 · Question #69
A merchant wants to redirect an old, discontinued marketing page ('/promo-2022') to the homepage of their site to avoid 404 errors. Which steps should a developer take in the Admin Panel to achieve…
The correct answer is D. Go to 'Marketing > URL Rewrites', create a new "Custom" rewrite, set the Request Path to the old. Option D is correct because Magento (the platform this question targets) has a dedicated Marketing > URL Rewrites section specifically designed for creating redirects between URLs. When you create a "Custom" rewrite, you set the Request Path (the old URL, /promo-2022) and the…
Question
A merchant wants to redirect an old, discontinued marketing page ('/promo-2022') to the homepage of their site to avoid 404 errors. Which steps should a developer take in the Admin Panel to achieve this?
Options
- AGo to 'Reports > Marketing > Promotions' and configure the redirect from there.
- BGo to 'Stores > Configuration > Web' and add the redirect in the "URL Rewrites" section.
- CGo to 'Content > Pages', find the old page, and set a new URL key.
- DGo to 'Marketing > URL Rewrites', create a new "Custom" rewrite, set the Request Path to the old
How the community answered
(30 responses)- A3% (1)
- B3% (1)
- D93% (28)
Explanation
Option D is correct because Magento (the platform this question targets) has a dedicated Marketing > URL Rewrites section specifically designed for creating redirects between URLs. When you create a "Custom" rewrite, you set the Request Path (the old URL, /promo-2022) and the Target Path (the homepage, /), then select the redirect type (301 for permanent, 302 for temporary) - this is exactly the workflow for preventing 404s on discontinued pages.
Why the distractors are wrong:
- A - "Reports > Marketing > Promotions" is for viewing promotional data and campaign reports, not for managing URL routing.
- B - "Stores > Configuration > Web" handles general site URL settings (base URLs, trailing slashes, etc.), not individual page redirects; there is no "URL Rewrites" subsection there.
- C - Editing the URL key of a page in "Content > Pages" changes the page's current URL, but the old page is discontinued (likely deleted), so there's no page record to edit - and this also wouldn't create a true redirect anyway.
Memory tip: Think "Marketing manages redirects" - since old promo pages are a marketing concern, Magento logically places URL Rewrites under the Marketing menu. The word "rewrite" is the giveaway: you're rewriting what the old URL resolves to.
Topics
Community Discussion
No community discussion yet for this question.