{"id":5309695,"date":"2014-09-18T23:00:43","date_gmt":"2014-09-18T23:00:43","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/redirection-issue-6\/"},"modified":"2016-08-22T01:40:48","modified_gmt":"2016-08-22T01:40:48","slug":"redirection-issue-6","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/redirection-issue-6\/","title":{"rendered":"Redirection Issue"},"content":{"rendered":"<p>I need the redirection to go back to the home page. I have all of your template files in my theme and have made customizations, on the user-login.php file I tried changing this:<\/p>\n<pre><code>if ( is_user_logged_in() ) {\n\twp_safe_redirect( home_url( &#039;\/user-profile\/&#039; ) );\n\texit;<\/code><\/pre>\n<p>But it&#8217;s still sending me to the profile page every time I log in. How can I fix this??<\/p>\n<p>https:\/\/wordpress.org\/plugins\/user-frontend\/<\/p>\n","protected":false},"template":"","class_list":["post-5309695","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5309695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5309695\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5309695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}