Title: Logout Redirect error
Last modified: December 5, 2019

---

# Logout Redirect error

 *  Resolved [dbrdh](https://wordpress.org/support/users/dbrdh/)
 * (@dbrdh)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/logout-redirect-error/)
 * I have a site at nhyc.org.uk. The site url is nhyc.org.uk, the wordpress location
   is /wp directory.
 * I have installed the redirect plugin and in general settings, I have put ‘nhyc.
   org.uk’ as the redirect URL for Logouts, to take users back to the home page.
 * However i get a 404 error on logout – the url in the browser bar being looked
   for nhyc.org.uk/wp/nhyc.org.uk – it seems =Redirection is concatenating the wordpress
   installation directory with the homepage url i set in settings.
 * What have I done wrong please?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/logout-redirect-error/#post-12209882)
 * The target should be a relative or absolute URL, and you have given an invalid
   URL.
 * It should be `https://nhyc.org.uk` or `/`
    -  This reply was modified 6 years, 6 months ago by [John Godley](https://wordpress.org/support/users/johnny5/).
 *  Thread Starter [dbrdh](https://wordpress.org/support/users/dbrdh/)
 * (@dbrdh)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/logout-redirect-error/#post-12211010)
 * Thanks for the reply:
 * Hmm.
    Something isn’t right. If I put nothing in the redirect box, I still get
   a 404 error: the ‘exit’ url in the browser is always nhyc.org.uk/wp
 * I tried [http://www.google.com](http://www.google.com) – got a 404 error and 
   the browser url was nhyc.org.uk/wp/http://www.google.com
 * FYI nhyc.org.uk or [http://nhyc.org.uk](http://nhyc.org.uk) in a browser takes
   one to home page as expected whereas */wp gives a 404 error. The domain is pointed
   at public_html/ the site lives in public_html/wp browsers are directed from the
   root dir by .htaccess rewrite mod if I understand correctly. Does this help?
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/logout-redirect-error/#post-12211044)
 * I don’t really understand. What redirect box? Why google.com? What is */wp? Can
   you provide a screenshot of the redirect you are looking at
 *  Thread Starter [dbrdh](https://wordpress.org/support/users/dbrdh/)
 * (@dbrdh)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/logout-redirect-error/#post-12211132)
 * Redirect box = logout url in settings
    Google = just to try a random URL to head
   for */wp in that sentence = didn’t matter if [http://www.nhyc.org/wp](http://www.nhyc.org/wp)
   or [http://nhyc.org.uk/wp](http://nhyc.org.uk/wp)
 * In essence: no matter what I put in the logout url in site settings,even if it’s
   left blank, I get a 404 error in the browser and the url in the search bar always
   = nhyc.org.uk/wp regardless.
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/logout-redirect-error/#post-12211140)
 * Can you post a screenshot(s)? I still don’t know what you’re really referring
   to.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Logout Redirect error’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/logout-redirect-error/#post-12211140)
 * Status: resolved