Question: Select all that apply. When might you use a redirect?
- When moving your site to a new domain
- When you've moved a page to a new URL
- When you have multiple URLs for your site
- When you need to prevent a page from appearing in search results
Explanation
Redirects are appropriate when a URL change should forward visitors and crawlers from an old location to the current one. HubSpot documents redirects for cases where content moves to a new URL, and it also supports redirecting an old domain to a different connected domain. HubSpot Knowledge Base+1 They are also useful when multiple URLs exist for the same destination and one address should consistently send traffic to another. HubSpot Knowledge Base This is different from duplicate-content handling, where HubSpot uses canonical URL settings to identify the preferred version for search engines. HubSpot Knowledge Base
Why the other options are incorrect
D) Preventing a page from appearing in search results is handled with indexing controls such as noindex, not with a redirect alone. HubSpot Knowledge Base
Source for verification
HubSpot Knowledge Base: Create and manage URL redirects HubSpot Knowledge Base
HubSpot Knowledge Base: Set canonical URLs for duplicate content HubSpot Knowledge Base
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.
