{"id":9285,"date":"2024-07-02T14:08:12","date_gmt":"2024-07-02T14:08:12","guid":{"rendered":"https:\/\/axamit.com\/?post_type=glossary-article&#038;p=9285"},"modified":"2024-08-16T14:21:37","modified_gmt":"2024-08-16T14:21:37","slug":"what-is-an-aem-vanity-url","status":"publish","type":"glossary-article","link":"https:\/\/axamit.com\/glossary\/aem\/what-is-an-aem-vanity-url\/","title":{"rendered":"What is an AEM Vanity URL?"},"content":{"rendered":"<div class=\"custom-toc\"><ul><\/ul><\/div>\n<h2 class=\"wp-block-heading\">Short Answer<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A vanity URL in Adobe Experience Manager (AEM) is a custom, human-readable URL that is easier to remember, use, and share than a standard system-generated URL. These URLs are typically used for marketing purposes or to provide a shortcut to a specific resource within AEM.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Are Vanity URLs in AEM<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Purpose of Vanity URLs<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Vanity URLs serve several purposes in AEM:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Marketing Friendly: They can be used in marketing materials for better branding and recall.<\/li>\n\n\n\n<li>User Convenience: They provide a simplified way for users to access content without navigating through the full site structure.<\/li>\n\n\n\n<li>Redirection: They can redirect users to any page or resource within AEM without revealing the actual path.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How Vanity URLs Work in AEM<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Vanity URLs in AEM are managed on a per-page basis and can be set by content authors. When a vanity URL is requested by a user, AEM processes the request and directs the user to the appropriate content. This is managed internally by <a href=\"https:\/\/axamit.com\/blog\/adobe-experience-manager\/aem-dispatcher\/\" data-type=\"post\" data-id=\"2473\">AEM&#8217;s dispatcher<\/a>, which handles URL rewriting and mapping.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setting Up Vanity URLs in AEM<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step-by-Step Creation<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the Page Properties: Navigate to the page you wish to create a vanity URL for and open its properties.<\/li>\n\n\n\n<li>Enter the Vanity URL: Find the vanity URL field and enter the desired path.<\/li>\n\n\n\n<li>Save and Close: Save the page properties to enable the vanity URL.<\/li>\n\n\n\n<li>Configure Dispatcher: Ensure your AEM dispatcher is configured to handle vanity URLs, allowing them to be resolved correctly.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Dispatcher Configuration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The dispatcher must be configured to allow the vanity URL feature. This usually involves:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ensuring the dispatcher flushes the cache for a page when its vanity URL is updated.<\/li>\n\n\n\n<li>Configuring the dispatcher to recognize and resolve vanity URLs.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices for Vanity URLs in AEM<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When using vanity URLs, consider the following best practices:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Unique URLs: Ensure that each vanity URL is unique to prevent conflicts.<\/li>\n\n\n\n<li>Consistent Naming Convention: Use a naming convention that is consistent and reflective of your branding.<\/li>\n\n\n\n<li>SEO Considerations: Be mindful of search engine optimization when choosing vanity URLs.<\/li>\n\n\n\n<li>Regular Audits: Periodically review and manage vanity URLs to keep them current and relevant.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Vanity URLs in AEM are a powerful feature for content authors and marketers, providing an easy way to direct users to content. They enhance user experience, improve brand visibility, and can be a significant aspect of a content strategy. Understanding how to create and manage them effectively is essential for leveraging AEM&#8217;s full potential.<\/p>\n","protected":false},"author":12,"featured_media":5015,"menu_order":0,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"glossary-category":[131],"class_list":["post-9285","glossary-article","type-glossary-article","status-publish","has-post-thumbnail","hentry","glossary-category-adobe-experience-manager"],"acf":{"post_title":"Vanity URL"},"_links":{"self":[{"href":"https:\/\/axamit.com\/pl\/wp-json\/wp\/v2\/glossary-article\/9285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/axamit.com\/pl\/wp-json\/wp\/v2\/glossary-article"}],"about":[{"href":"https:\/\/axamit.com\/pl\/wp-json\/wp\/v2\/types\/glossary-article"}],"author":[{"embeddable":true,"href":"https:\/\/axamit.com\/pl\/wp-json\/wp\/v2\/users\/12"}],"version-history":[{"count":5,"href":"https:\/\/axamit.com\/pl\/wp-json\/wp\/v2\/glossary-article\/9285\/revisions"}],"predecessor-version":[{"id":9757,"href":"https:\/\/axamit.com\/pl\/wp-json\/wp\/v2\/glossary-article\/9285\/revisions\/9757"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/axamit.com\/pl\/wp-json\/wp\/v2\/media\/5015"}],"wp:attachment":[{"href":"https:\/\/axamit.com\/pl\/wp-json\/wp\/v2\/media?parent=9285"}],"wp:term":[{"taxonomy":"glossary-category","embeddable":true,"href":"https:\/\/axamit.com\/pl\/wp-json\/wp\/v2\/glossary-category?post=9285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}