{"id":1160501,"date":"2016-09-06T09:42:22","date_gmt":"2016-09-06T16:42:22","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/"},"modified":"2016-09-06T09:42:22","modified_gmt":"2016-09-06T16:42:22","slug":"redirect-login-page-for-ce-submit-event-form","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/","title":{"rendered":"Redirect login page for CE Submit Event Form"},"content":{"rendered":"<p>Hi,<\/p>\n<p>We have set our calendar to require that a user be logged in to submit an event. As such, when someone navigates to \/events\/community\/add and they are not logged in, they see the plain login form (see attached screenshot). We are using a 3rd party plugin to add custom front-end login and registration pages to our site. However, because the Community Events Submit an Event form is not a page, we cannot set a redirect option in the plugin. <\/p>\n<p>Is there a snippet or another plugin that will allow us to redirect users to our new login page if they visit \/events\/community\/add while not logged in?<\/p>\n<p>Thank you,<br \/>\nKarly<\/p>\n","protected":false},"template":"","class_list":["post-1160501","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Redirect login page for CE Submit Event Form -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Redirect login page for CE Submit Event Form -\" \/>\n<meta property=\"og:description\" content=\"Hi, We have set our calendar to require that a user be logged in to submit an event. As such, when someone navigates to \/events\/community\/add and they are not logged in, they see the plain login form (see attached screenshot). We are using a 3rd party plugin to add custom front-end login and registration pages [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/\",\"name\":\"Redirect login page for CE Submit Event Form -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-09-06T16:42:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Redirect login page for CE Submit Event Form\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Redirect login page for CE Submit Event Form -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/","og_locale":"en_US","og_type":"article","og_title":"Redirect login page for CE Submit Event Form -","og_description":"Hi, We have set our calendar to require that a user be logged in to submit an event. As such, when someone navigates to \/events\/community\/add and they are not logged in, they see the plain login form (see attached screenshot). We are using a 3rd party plugin to add custom front-end login and registration pages [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/","name":"Redirect login page for CE Submit Event Form -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-09-06T16:42:22+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/redirect-login-page-for-ce-submit-event-form\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"Redirect login page for CE Submit Event Form"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1160501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1160501\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1160501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}