AD0-E724 · Question #14
A developer needs to create a custom URL rewrite for a marketing campaign. They want the user- friendly URL 'mystore.com/summer-sale' to display the content of a specific category page, but without ch
The correct answer is C. A custom rewrite with no redirect.. Option C is correct because a custom URL rewrite with no redirect instructs the server to internally serve the target category page's content when /summer-sale is requested, while the browser never receives any redirect instruction - so the address bar stays exactly as typed. Opt
Question
A developer needs to create a custom URL rewrite for a marketing campaign. They want the user- friendly URL 'mystore.com/summer-sale' to display the content of a specific category page, but without changing the URL in the browser's address bar. What type of operation should they create in the 'Marketing > URL Rewrites' section of the Admin?
Options
- AA rewrite for a specific product, pointing to the category.
- BA custom rewrite with a "Temporary (302)" redirect type.
- CA custom rewrite with no redirect.
- DA custom rewrite with a "Permanent (301)" redirect type.
How the community answered
(38 responses)- A3% (1)
- B5% (2)
- C79% (30)
- D13% (5)
Explanation
Option C is correct because a custom URL rewrite with no redirect instructs the server to internally serve the target category page's content when /summer-sale is requested, while the browser never receives any redirect instruction - so the address bar stays exactly as typed. Options B and D are wrong for the same core reason: both 302 (temporary) and 301 (permanent) redirects send the browser to a new URL, which means the address bar would update to the actual category page URL, defeating the purpose of the friendly URL. Option A is wrong because product rewrites are scoped to individual products - they can't point to a category page and wouldn't fulfill the requirement at all.
Memory tip: Think of it as "rewrite vs. redirect." A rewrite is a server secret - the browser never knows anything changed. A redirect is a public announcement - the browser is explicitly told "go here instead," updating the address bar. For a vanity URL that stays put, always choose the silent rewrite (no redirect).
Topics
Community Discussion
No community discussion yet for this question.