I’ve seen some other tickets from a long time ago, but didn’t want to re-open a dead ticket. But none of them seemed to be resolved. If anyone can help me I’d really appreciate it.
Hi Patty-
Have you tried using `home_url()` instead of `site_url()` like the example on the Codex: https://codex.wordpress.org/Function_Reference/wp_logout_url#Logout_and_Redirect_to_Homepage
I use this on my site and it redirects to the home page:
`<a href="” title=”Log out”>`
-David
Well that code bit got mixed up, let’s try that again:
`<a href="” title=”Log out”>`
Still didn’t work. Available here: http://pastebin.com/ZtFWhqyg
Yeah, I ran across that webpage and I did try using home_url() and still had the same redirection after logging out.
I found the Peter’s Login Redirect plugin today, and it worked for me. It’s a little overkill for what I need it for, but it’s the only thing I could do to make it work!
So if you have any other ideas, I’m open to them, otherwise I suppose I will be using the extra plugin.
Thanks!