{"id":1951814,"date":"2022-01-28T05:34:21","date_gmt":"2022-01-28T10:34:21","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/?post_type=tribe-knowledgebase&#038;p=1951814"},"modified":"2025-09-11T07:27:54","modified_gmt":"2025-09-11T11:27:54","slug":"redirect-to-a-different-url-after-event-submission","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/redirect-to-a-different-url-after-event-submission\/","title":{"rendered":"Redirect to Different URL After Event Submission"},"content":{"rendered":"\n<p>If you\u2019re using the <span style=\"text-decoration: underline;\"><a href=\"https:\/\/theeventscalendar.com\/products\/community\/\" target=\"_blank\" rel=\"noreferrer noopener\">Community<\/a><\/span> plugin for managing <span style=\"text-decoration: underline;\"><a href=\"https:\/\/theeventscalendar.com\/blog\/event-management\/how-to-allow-event-submissions-on-a-wordpress-site\/\" target=\"_blank\" rel=\"noreferrer noopener\">event submissions<\/a><\/span>, you might have noticed that after submitting an event, users are typically redirected to a default success page. While this may be straightforward, it doesn&#8217;t always align with your website&#8217;s objectives or user experience strategy. This is where customizing the redirect page can offer significant benefits, enhancing user engagement and effectively promoting your brand.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2306\" height=\"620\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/01\/Screen-Shot-2022-01-28-at-7.37.51-AM-1.png\" alt=\"Event submission page with Community Events\" class=\"wp-image-1951815\" style=\"width:800px\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/01\/Screen-Shot-2022-01-28-at-7.37.51-AM-1.png 2306w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/01\/Screen-Shot-2022-01-28-at-7.37.51-AM-1-300x81.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/01\/Screen-Shot-2022-01-28-at-7.37.51-AM-1-1024x275.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/01\/Screen-Shot-2022-01-28-at-7.37.51-AM-1-768x206.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/01\/Screen-Shot-2022-01-28-at-7.37.51-AM-1-1536x413.png 1536w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/01\/Screen-Shot-2022-01-28-at-7.37.51-AM-1-2048x551.png 2048w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/01\/Screen-Shot-2022-01-28-at-7.37.51-AM-1-1568x422.png 1568w\" sizes=\"auto, (max-width: 2306px) 100vw, 2306px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-custom-redirect-pages-matter\">Why Custom Redirect Pages Matter<\/h2>\n\n\n\n<p>When users submit an event, it&#8217;s essential to deliver a seamless and cohesive experience. Default success pages often lack personalization and can feel disconnected from the overall user journey. By redirecting users to a custom page, you gain the following advantages: <\/p>\n\n\n\n<p>1. <strong>Branding Opportunities<\/strong>: A custom success page enables you to incorporate your branding elements, such as logos, colors, and specific messaging, that reinforce your brand identity. This can leave a lasting impression on users and enhance brand recognition. <\/p>\n\n\n\n<p>2. <strong>Offering Relevant Information<\/strong>: You can provide additional information relevant to the event they just submitted, such as approval process for submissions, recommendations for future participation, or even promotional content. This keeps users engaged and encourages them to return. <\/p>\n\n\n\n<p>3. <strong>Increased User Engagement<\/strong>: A personalized experience can lead to higher user satisfaction. When users feel recognized and valued, they are more likely to explore your site further, sign up for newsletters, or share your content with their networks. <\/p>\n\n\n\n<p>4. <strong>Data Tracking and Analytics<\/strong>: By directing users to a specific page, you can set up conversion tracking more effectively. This helps you assess the effectiveness of your event submission process and adjust strategies accordingly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-the-snippet\">The Snippet<\/h2>\n\n\n\n<p>Now that you are sold on why redirecting to a custom page is essential, here&#8217;s the code snippet you can add to your site to achieve that:<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/masoodahmed\/2138a0a9cdff1aec0853752143d3eedb.js\"><\/script>\n\n\n\n<p>Be sure to replace <code>\/sample-page\/<\/code> with the URL of the page on your site, you want users to be redirected to.<\/p>\n\n\n\n<p>Here&#8217;s how you can add the PHP code snippet to your site,<\/p>\n\n\n\n<p><a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/best-practices-for-implementing-custom-code-snippets\/\">How to Add Custom PHP Code Snippets to WordPress Site<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-for-developers\">For Developers<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>tribe_community_event_save_updated<\/li>\n\n\n\n<li><a href=\"https:\/\/docs.theeventscalendar.com\/reference\/functions\/tribe_is_event\/\" target=\"_blank\" rel=\"noreferrer noopener\">tribe_is_event<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Location\/href\" target=\"_blank\" rel=\"noreferrer noopener\">window.location.href<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019re using the Community plugin for managing event submissions, you might have noticed that after submitting an event, users are typically redirected to a default success page. While this may be straightforward, it doesn&#8217;t always align with your website&#8217;s objectives or user experience strategy. This is where customizing the redirect page can offer significant&#8230;<\/p>\n","protected":false},"author":59,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[24,59,79],"tags":[20,25,58],"stellar-product-taxonomy":[152],"class_list":["post-1951814","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing","category-php-function-snippets","category-snippets","tag-code","tag-customizations","tag-php","stellar-product-taxonomy-community-events"],"acf":[],"taxonomy_info":{"category":[{"value":24,"label":"Customizations"},{"value":59,"label":"PHP Functions &amp; Snippets"},{"value":79,"label":"Snippets"}],"post_tag":[{"value":20,"label":"Code"},{"value":25,"label":"Customizations"},{"value":58,"label":"PHP"}],"stellar-product-taxonomy":[{"value":152,"label":"Community"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Masood","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/masood\/"},"comment_info":0,"category_info":[{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":157,"filter":"raw","term_order":"0","cat_ID":24,"category_count":157,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0},{"term_id":59,"name":"PHP Functions &amp; Snippets","slug":"php-function-snippets","term_group":0,"term_taxonomy_id":59,"taxonomy":"category","description":"","parent":24,"count":127,"filter":"raw","term_order":"0","cat_ID":59,"category_count":127,"category_description":"","cat_name":"PHP Functions &amp; Snippets","category_nicename":"php-function-snippets","category_parent":24},{"term_id":79,"name":"Snippets","slug":"snippets","term_group":0,"term_taxonomy_id":79,"taxonomy":"category","description":"","parent":0,"count":80,"filter":"raw","term_order":"0","cat_ID":79,"category_count":80,"category_description":"","cat_name":"Snippets","category_nicename":"snippets","category_parent":0}],"tag_info":[{"term_id":20,"name":"Code","slug":"code","term_group":0,"term_taxonomy_id":20,"taxonomy":"post_tag","description":"","parent":0,"count":19,"filter":"raw","term_order":"0"},{"term_id":25,"name":"Customizations","slug":"customizations","term_group":0,"term_taxonomy_id":25,"taxonomy":"post_tag","description":"","parent":0,"count":102,"filter":"raw","term_order":"0"},{"term_id":58,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":58,"taxonomy":"post_tag","description":"","parent":20,"count":78,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1951814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/59"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1951814"}],"version-history":[{"count":8,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1951814\/revisions"}],"predecessor-version":[{"id":1966785,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1951814\/revisions\/1966785"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1951814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1951814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1951814"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1951814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}