TECHNIG
Gateway for IT Experts and Tech Geeks

WordPress Redirect Logout page to Homepage

WordPress Logout page is remain in the Login page when you logout from your WordPress account. It doesn’t have any built-in option to change it. but I have solve this problem with adding some basic code to the function.php file of the current applied WordPress Theme. It work perfect but doesn’t have function and not more flexible. Instead you can use some WordPress plugin.

WordPress Redirect Logout page Using Code

if you want to go directly to the front page when you log out, place this code into your functions.php in your current theme.

add_action(‘wp_logout’,’go_home’);
function go_home(){
wp_redirect( home_url() );
exit();
}

The code must be placed at the end of all code. See the screenshot.

Redirect WordPress Logout page - Technig
Redirect WordPress Logout page to Home Page

WordPress Redirect Logout page Using WordPress Plugin

With plugin you can choose which URL users are directed to when logging out of WordPress. You redirect the users to some page such a network homepage, Help and Support, Sales page, Special offer for existing users and even to the specific product of the company.

So for more function and options, the best case is using plugin. The best plugin I recommend you is Logout Redirect plugin.

Network Settings Network Admin WordPress
Network Settings Network Admin WordPress

It is easy, simply install the plugin and follow the How to redirect WordPress Logout page to any page you want.

Read WordPress document for Function Reference/wp logout url help.

Hop it would be helpful and can solve your WordPress problems.

33 Comments
  1. lace wigs says

    That is a good tip particularly to those fresh to the blogosphere.
    Short but very accurate information… Thanks for sharing this one.
    A must read article!

  2. web dev says

    Can you tell us more about this? I’d like to find out more details.

  3. Heel Pain says

    It has clear massaging gel and it works very
    well with open toe shoes. Plantar fasciitis can be treated with rest, orthotics, anti-inflammatory medications, steroid injections and sometimes surgery.
    “Frozen” immobile toe and ankle joints gain mobility.

  4. Guest says

    Hi, i read your blog occasionally and i own a similar one and
    i was just wondering if you get a lot of spam comments?
    If so how do you protect against it, any plugin or anything you can recommend?
    I get so much lately it’s driving me crazy so any help is very
    much appreciated.

  5. take proper safety says

    I blog quite often and I seriously thank you for your information. This article has
    really peaked my interest. I’m going to book mark your website and keep checking for new details about once per
    week. I opted in for your Feed too.

  6. pulsa murah says

    Hello there! I could have sworn I’ve been to this site before but after reading through some of
    the post I realized it’s new to me. Anyhow, I’m definitely delighted I found it and I’ll be bookmarking and checking back frequently!

  7. Linda says

    I woll right away clutch your rss feed as I ccan not in finding your e-mail
    subscription link oor e-newsletter service. Do yyou have any?
    Kindly alloww me know in order thbat I may subscribe.

    Thanks.

    1. Shais says

      Hi Linda,

      You can subscribe to our newsletter from the popup at the end of page.

  8. agencia de viajes chihuahua says

    Hmm it appears like your blog ate my first comment (it was extremely long)
    so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog.

    I too am an aspiring blog writer but I’m still new to the
    whole thing. Do you have any points for inexperienced blog
    writers? I’d genuinely appreciate it.

  9. tap doan says

    whoah this blog is great i really like studying your posts.
    Stay up the good work! You realize, a lot of persons are searching around for this information, you can help
    them greatly.

  10. Craigslist says

    Excellent article. I absolutely love this website.

    Stick with it!

  11. Pagar says

    Appreciation to my father who stated to me on the topic of this website,
    this website is really awesome.

  12. offline installer says

    I’d like to thank you for the efforts you have put in writing this site.
    I really hope to see the same high-grade content from you in the future as well.
    In fact, your creative writing abilities has inspired me to get
    my own, personal site now 😉

  13. Olahraga says

    It’s in fact very complex in this full of activity life to listen news on Television, thus I only use the web for that reason, and
    get the latest information.

  14. service says

    service de femme de ménage
    Profedsionnelle de l’entretien, notre dynamiqque entreprise saura réaliser pour vous l’ensemble des travaux ménagers.

    G.E.M. s’engage suur une prestation de qualité !

    Notde équipe dde spécialistes chevronnés accomplira un travail à la fois soigné, rapide
    et économique.
    De plus, nous utilisons exclusivement des produits écologiques et hautement performants,
    issus des toutes dernières technologies.
    La vie modedrne véhicule aussi de lourdes menaces.
    D’apparence inoffensive, meubles, appareils ménagers,
    matériaux de construction, jouets ouu objets familiers peuvent dégager des
    phtalates ou autres redoutables composés
    chimiques.

    Franchise de Nettoyage Résidentiel et Commercial, service
    de feme de ménage ,entretien ménager commercial,entretien ménager commercial, ménage résidentiel, service d’entretien ménager montréal
    Nous aidons lles personnes désireuses d’être propriétaires d’entreprises prospères
    àdevenir des professionnels du nettoyage commercial et de la maintenance.
    En rejoignant notre réseau d’entreprises,
    vous bénéficierez d’un avantage concurrentiel ainsi que d’une aide apportée
    ppar un modèle d’affaires éprouvé vous assurant
    de travailler avec un leader du domaine disposant de l’expérience et la stabilité.

    Vous disiez augmentez vos revenus afin d’améliorer votre quotidien ?

    Faites Appel a G.E.M Ménage! service de femme de ménage ,entretien ménager commercial,entretien ménager commercial, ménage résidentiel,
    service d’entretien ménager montréal, service de femme de
    ménage ,entretien ménager commercial,entretien ménager commercial, ménage résidentiel,
    service d’entretien ménager montréal
    Franchises de Nettfoyage Résidentiel et Commercial
    disponible Partout A Montréal ,Rive Nord et Rive Sud.

    Financement Sans Intérêt par G.E.M .
    Un dépôt est obligatoire

    Un Investissement de 24 000$ Vous Rapporte (4800$ et plus dde Revenus par Mois)!

    Matériel et formation fourni

    Nous aidons les personnes désireuses d’être propriétaires d’entreprises prospères à devenir dess professionnels du nettoyage commercial et de la maintenance.
    En rejoignant notre réseau d’entreprises, vous bénéficierez d’un avantage concurrentiel ainsi que d’une aide
    apportée par un modèle d’affaires éprouvé vous
    asurant dee travailler avedc un leadeer du domaine disposant de l’expérience et la stabilité.

    G.E.M Ménage vous offre l’opportunité de trravailler pendant la journée
    de lundi a vendredi .

    G.E.M Vous propose des contrats d’entretien ménager avec des horaires souples
    et un revenu garanti.

    Pour les personnes libres,les nouveaux arrivants ouu
    les sans-emplois G.E.M peut favoriser votre accès au marché du travail
    !

    G.E.Mvous prolose des cotrats stables et rémunérateurs!

    Dans le secteur résidentiel idéal pour un couple, ou un homme seul dans le sercteur commercial
    Vous débuter des maintenant

    Des techniques et méthodes de travail éprouvées.

    Une aide à la constitution ou à l’enregistrement
    de leur entreprise.
    Des territoires d’exercice protégés.
    Entreprise clés enn main.
    Un garantie qui protège votre investissement

    Exigences dee l’entrée de notre réseau :
    Les demandes ssont examinées attentivement et une enquête relative à la candidature est menée.

    Les candidats doivent ppasser une entrevue dde sélection.
    Avant tout début d’activité, les candidats doivent assister à des sessions de formation.

    Au G.E.M. nous nous assurons que nos franchisés puissent offrir à leurs clients un service professionnel d’une
    qualité supérieure à celle de la concurrence.

    Franchise disponible au résidentiel et commercial

    N’hésitez ppas à nous contacter
    469 Jean-Talon Ouest Suite # 222
    Montreal QC

  15. tapeten says

    I’m no longer positive where you are getting
    your information, however good topic. I must spend some time
    studying much more or working out more. Thank you for fantastic information I used to be
    searching for this information for my mission.

  16. Friv says

    Hmm it appears like your website ate my first comment (it was extremely long) so I
    guess I’ll just sum it up what I had written and said,
    I’m thoroughly enjoying your blog. I as well am an aspiring blog blogger but
    I’m still new to the whole thing. Do you have any recommendations for inexperienced blog writers? I’d genuinely appreciate it.

  17. twitter followers says

    Some more things you can do to get twitter followers: Use relevant keywords in your bio so you get ranking in Twitter search.
    Don’t forget to include your city or region name to appeal
    to local users. Find people you know by posting your email contacts to
    Twitter. They are more likely to follow you back, especially since they know you in real life.

    Plus of course buy twitter followers.

  18. Exercises says

    Fantastic beat ! I would like to apprentice at the same time as you amend your website, how can i subscribe for
    a weblog site? Thee account helped me a applicable deal.

    I have been tiny bit acquainted of this your broadcast provided shiny transplarent idea

  19. Dragon Ball says

    It doesn’t matter where you have it from – newspapers, other
    websites and news sources, whatever. There are many blog networks around that enable you to submit you and advertise your blog.
    This is a gesture of good will confident that other bloggers
    is going to do exactly the same.

  20. cheap youth says

    cheap chinese jersey Amazon Shopper online retail,with link:
    cheap youth jerseys

  21. fanzlive.com says

    Once all of that is within place you you will need to start
    earning out of your blog. To see the complete impact these events are experiencing
    on the local Houston area market, we will have to hold back until
    next week, in the event the Houston Association of Realtors releases its March home sales results.
    No matter how big or small the business is, it is the best tool
    for them.

  22. pkbbm says

    Thank you for sharing your info. I really appreciate your efforts and I
    am waiting for your further post thank you once again.

  23. Earabta says

    I don’t even know the way I finished up here, but I assumed this publish was great. I do not recognize who you
    are but definitely you’re going to a well-known blogger should you are not already.
    Cheers!

  24. Dich says

    I’m really loving the theme/design of your blog. Do you ever run into any browser compatibility issues?
    A number of my blog readers have complained about my site
    not working correctly in Explorer but looks great in Chrome.
    Do you have any tips to help fix this issue?

  25. Doodl says

    Hello, I would like to subscribe for this website to get most recent updates, thus where can i do it, please
    help out.

  26. bandar says

    What’s up, yup this post is really nice and I have learned lot of things from it about blogging.
    thanks.

  27. posei says

    Hi, all the time i used to check web site posts here early in the
    dawn, as i enjoy to gain knowledge of more and more.

  28. Hugh D. McNulty says

    I remember I also had such a problem with WordPress when I also started coding) Thanks for the advice for beginners.

  29. pet friend says

    Thanks for your entire hard work on this website.

  30. Sourav Halder says

    very informative post and it is easy to understand. you clearly conveyed the information. waiting for your next blog

  31. J Barman says

    I want to take this opportunity to say that I really love this blog. It has been a good resource of information for me in my research.

  32. Jaganath Barman says

    I’m just a beginner and believe me, your article has helped a great deal. Thank

Leave A Reply

Your email address will not be published.