• Resolved dbrdh

    (@dbrdh)


    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

    (@johnny5)

    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, 5 months ago by John Godley.
    Thread Starter dbrdh

    (@dbrdh)

    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 – 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 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

    (@johnny5)

    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

    (@dbrdh)

    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 or 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

    (@johnny5)

    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.