{"id":663,"date":"2012-09-14T02:07:45","date_gmt":"2012-09-14T09:07:45","guid":{"rendered":"http:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/?p=663"},"modified":"2018-01-05T04:11:09","modified_gmt":"2018-01-05T11:11:09","slug":"automatically-redirect-your-members-to-a-page-after-they-login","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663","title":{"rendered":"Automatically Redirect Your Members to a Page After They Login"},"content":{"rendered":"<p>WP eMember has an &#8220;After Login Redirection&#8221; feature that you can use to automatically send the members to a specific page (example, members only area) when they log into the site.<\/p>\n<p><iframe loading=\"lazy\" title=\"Redirect Members to a Page After Login\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/M8-azr2kUys?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h2>How to Enable the After Login Redirection Feature<\/h2>\n<ul>\n<li>Go to the WP eMember Settings menu<\/li>\n<li>Check the &#8220;Enable After login Redirection&#8221; checkbox<\/li>\n<li>Save the settings by clicking the update button at the bottom of this page<\/li>\n<\/ul>\n<h2>How to Configure Which Page to Redirect to<\/h2>\n<p>There are 3 options to choose from:<\/p>\n<ol>\n<li>You can redirect all of your members to a specific page upon login. Simply specify the URL of the page in the <code>\"eMember settings -&gt; Pages\/Forms Settings -&gt; After Login Page\"<\/code> field.<\/li>\n<li>You can redirect members to a specific page based on their membership levels. Specify the URL of the redirect page in the <code>\"Membership Level -&gt; Redirect After Login\"<\/code> field\u00a0to configure a per membership level specific redirection page.<\/li>\n<li>You can also redirect on a per user basis (redirect a specific member to a specific page). Specify the URL of the redirect page in the <code>\"Members -&gt; Edit a member's record -&gt; After Login Page URL\"<\/code> field\u00a0to configure a per user specific redirection page.<\/li>\n<\/ol>\n<h2>Can I Use a Mixture of These Available\u00a0Redirections?<\/h2>\n<p>Yes, you can mix them up. This is how eMember will determine the after login redirection of a user when he\/she logs into the site:<\/p>\n<ul>\n<li>First, it will check if there is a user\u00a0specific\u00a0redirection available for the member. If it finds one then it will redirect the member to that page.<\/li>\n<li>If a user specific redirection is not present, the plugin will check if a membership level specific redirection is configured.\u00a0If it finds one then it will redirect the member to that membership level redirection page.<\/li>\n<li>If the plugin can&#8217;t find any of the above, it will redirect the user to the global\/general redirection page specified under the &#8220;Pages\/Forms Settings&#8221; area.<\/li>\n<\/ul>\n<h2>Do Not Trigger After Login Redirection when Logging in via Inline Login Widget<\/h2>\n<p>This option can be used to keep the user on the current page when they are logging in via the inline login widget. The inline login widget is shown when a member clicks on the login link inside a protected post\/page.<\/p>\n<p>You can enable the following option in eMember plugin settings:<\/p>\n<pre>Prevent After Login Redirection When Logging in via Inline Login Option\r\n<\/pre>\n<p>When this option is enabled, the after login redirection won&#8217;t get triggered when the login action happens via the inline login widget. If the member goes to the standard login page and logs in then the redirection will work as configured in your site.<\/p>\n<h2>Create a Custom Link to the Login Page to Redirect to a URL<\/h2>\n<p>The after login redirection will honor the <strong>redirect_to<\/strong> query parameter in the URL. If you specify a URL value via the <strong>redirect_to<\/strong> parameter then it will send the user to that URL after the loging (ignoring any after login redirection that you may have configured in the settings).<\/p>\n<p>Below is an example of how you can use the <strong>redirect_to<\/strong> parameter to create a link to the login page.<\/p>\n<pre>https:\/\/www.mysite.com\/member-login\/?redirect_to=https:\/\/www.mysite.com\/special-redirect-page\r\n<\/pre>\n<p>If a user clicks on this link and logs into the site from the login page, he will get redirect to that specified URL.<\/p>\n<h2>Create a Custom Link to Override the Login Redirection<\/h2>\n<p>You can specify the <strong>no-redirect<\/strong>\u00a0parameter in the login page&#8217;s URL to prevent the after login redirection.<\/p>\n<p>Below is an example of how you can use the <strong>no-redirect<\/strong> parameter to create a link to the login page.<\/p>\n<pre>https:\/\/www.mysite.com\/member-login\/?no-redirect=1\r\n<\/pre>\n<p>When a member clicks on the following link and logs into the site, there will be no after login redirection for him (even if you have enabled the redirection feature).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WP eMember has an &#8220;After Login Redirection&#8221; feature that you can use to automatically send the members to a specific page (example, members only area) when they log into the site. How to Enable the After Login Redirection Feature Go to the WP eMember Settings menu Check the &#8220;Enable After login Redirection&#8221; checkbox Save the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[4],"tags":[65,66,7,5],"class_list":{"0":"post-663","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-design-usage","7":"tag-after-login-redirection","8":"tag-member-login-redirection","9":"tag-usage-guide","10":"tag-wp-emember","11":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Automatically Redirect Your Members to a Page After They Login - WordPress Membership<\/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:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd\"},\"headline\":\"Automatically Redirect Your Members to a Page After They Login\",\"datePublished\":\"2012-09-14T09:07:45+00:00\",\"dateModified\":\"2018-01-05T11:11:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663\"},\"wordCount\":609,\"commentCount\":2,\"keywords\":[\"after login redirection\",\"member login redirection\",\"Usage Guide\",\"WP eMember\"],\"articleSection\":[\"Design &amp; Usage\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663\",\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663\",\"name\":\"Automatically Redirect Your Members to a Page After They Login - WordPress Membership\",\"isPartOf\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#website\"},\"datePublished\":\"2012-09-14T09:07:45+00:00\",\"dateModified\":\"2018-01-05T11:11:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatically Redirect Your Members to a Page After They Login\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#website\",\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/\",\"name\":\"WordPress Membership\",\"description\":\"Easy to use WordPress Membership plugin\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automatically Redirect Your Members to a Page After They Login - WordPress Membership","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:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663#article","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663"},"author":{"name":"admin","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd"},"headline":"Automatically Redirect Your Members to a Page After They Login","datePublished":"2012-09-14T09:07:45+00:00","dateModified":"2018-01-05T11:11:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663"},"wordCount":609,"commentCount":2,"keywords":["after login redirection","member login redirection","Usage Guide","WP eMember"],"articleSection":["Design &amp; Usage"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663","url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663","name":"Automatically Redirect Your Members to a Page After They Login - WordPress Membership","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#website"},"datePublished":"2012-09-14T09:07:45+00:00","dateModified":"2018-01-05T11:11:09+00:00","author":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd"},"breadcrumb":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/automatically-redirect-your-members-to-a-page-after-they-login-663#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/"},{"@type":"ListItem","position":2,"name":"Automatically Redirect Your Members to a Page After They Login"}]},{"@type":"WebSite","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#website","url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/","name":"WordPress Membership","description":"Easy to use WordPress Membership plugin","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g","caption":"admin"},"url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/posts\/663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/comments?post=663"}],"version-history":[{"count":0,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/posts\/663\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/media?parent=663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/categories?post=663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/tags?post=663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}