{"id":16162,"date":"2022-02-16T20:25:31","date_gmt":"2022-02-16T20:25:31","guid":{"rendered":"https:\/\/johnjohnston.info\/blog\/?p=16162"},"modified":"2025-12-06T20:38:36","modified_gmt":"2025-12-06T20:38:36","slug":"wordpress-logon-redirect","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/blog\/wordpress-logon-redirect\/","title":{"rendered":"WordPress logon redirect"},"content":{"rendered":"<p>I&#8217;ve had to search for this one several times so putting it here so that it might make it stick or be easier to find.<\/p>\n<p>Sometimes working with my pupils I want to send them to a blog, have them logged on but not go to the dashboard.<\/p>\n<p>the login url has a <strong>redirect_to<\/strong> parameter.<\/p>\n<p>So I I use a url like<br \/>\n<code>blog-address\/wp-login.php?redirect_to=page-I-want-the-pupil-to-go-to<\/code><\/p>\n<p>Where <em>blog-address<\/em> is the blog I want them to log on to and <em>page-I-want-the-pupil-to-go-to<\/em> is a relative or full url<\/p>\n<p>I often share notes to my class via AirDrop and hide long urls but typing a name, selecting it and making it a link, \u2318-k on mac. Unfortunalty you have to create linked text in another app on iOs and paste it in.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve had to search for this one several times so putting it here so that it might make it stick or be easier to find. Sometimes working with my pupils I want to send them to a blog, have them logged on but not go to the dashboard. the login url has a redirect_to parameter. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[1784,222,11],"post_format":[],"class_list":{"0":"post-16162","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-wwwd","7":"tag-glow-blogs","8":"tag-glowblogs","9":"tag-wordpress","10":"kind-note","12":"h-entry","13":"hentry"},"better_featured_image":null,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p57zFQ-4cG","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"kind":false,"_links":{"self":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/16162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/comments?post=16162"}],"version-history":[{"count":2,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/16162\/revisions"}],"predecessor-version":[{"id":16164,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/16162\/revisions\/16164"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/media?parent=16162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/categories?post=16162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/tags?post=16162"},{"taxonomy":"post_format","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/post_format?post=16162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}