WordPress.org

Ready to get started?Download WordPress

Forums

Logout Redirect Help (2 posts)

  1. burrit0s
    Member
    Posted 2 years ago #

    Hello I am using theme grey white black and my site is http://Ilovelightshows.com

    When I try to logout out of my site it is redirecting me not to the login screen but to ilovelightshows.com/forum which doesn't exist anymore. I don't even remember what I did to make it do that in the first place...

    I would like it to redirect users to the last page they were looking at.

    I was reading about logout redirects here: http://codex.wordpress.org/Function_Reference/wp_logout_url

    but I don't understand where to put that code in my child theme. Any help is appreciated, thanks.

  2. SNSD Photo
    Member
    Posted 2 years ago #

    put the code on functions.php

Topic Closed

This topic has been closed to new replies.

About this Topic