AD0-E724 · Question #72
A developer changes the URL Key for a popular category from 'old-url-key' to 'new-url-key' in the Admin Panel and saves the category. The store has default URL rewrite settings enabled. What is the ex
The correct answer is B. The system will automatically create a 301 permanent redirect from the old URL to the new URL.. When a category URL key is changed in Magento's Admin Panel with default URL rewrite settings enabled, the system automatically generates a 301 permanent redirect from the old URL to the new one - this preserves SEO link equity and ensures customers with bookmarks or cached links
Question
A developer changes the URL Key for a popular category from 'old-url-key' to 'new-url-key' in the Admin Panel and saves the category. The store has default URL rewrite settings enabled. What is the expected behavior for the old URL?
Options
- ABoth the old and new URLs will serve the same category page content without any redirection.
- BThe system will automatically create a 301 permanent redirect from the old URL to the new URL.
- CThe old URL will now lead to a 404 "Not Found" page.
- DThe system will create a 302 temporary redirect, which will be removed after the cache is cleared.
How the community answered
(29 responses)- A3% (1)
- B83% (24)
- C3% (1)
- D10% (3)
Explanation
When a category URL key is changed in Magento's Admin Panel with default URL rewrite settings enabled, the system automatically generates a 301 permanent redirect from the old URL to the new one - this preserves SEO link equity and ensures customers with bookmarks or cached links are seamlessly redirected without seeing an error. Option A is wrong because the system doesn't serve duplicate content on both URLs; it redirects, not mirrors. Option C is wrong because Magento's URL rewrite engine explicitly exists to prevent 404s when URLs change - that's its core purpose. Option D is wrong because Magento creates a 301 (permanent), not a 302 (temporary), redirect for category URL key changes, and it persists independently of cache state.
Memory tip: Think "301 = permanent move, SEO safe" - Magento treats a URL key change like a permanent address change and updates the post office (URL rewrite table) automatically so no mail (traffic) gets lost.
Topics
Community Discussion
No community discussion yet for this question.