• Hello,

    Here is my website: http://www.protovest.com

    My permalink for logout is not working. It keeps giving me a 404 error message because it directs me to a page in the shop that doesn’t exist when logging out. I want to redirect the logout button so that it will direct the user to the login page or the homepage. Logging out works on the website except for when I use it while logging out of the shop page.

    How do I customize this? My website is through GoDaddy and they already checked everything to make sure everything is working on their side. Deactivating and Reactivating the plug-ins don’t work either.

    Here is the code in my header.php file:

    echo ‘ Logout‘;

    Or is this a woocommerce issue since this permalink doesn’t work in the shop only?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Or is this a woocommerce issue since this permalink doesn’t work in the shop only?

    I recommend asking in this dedicated support sub-forum for better results so its developers and users can help you with this: http://wordpress.org/support/plugin/woocommerce

    Thread Starter protovest1

    (@protovest1)

    Actually I just checked and this is what happens.

    I put my cursor over the logout button every time I access a page. The redirect url changes to what page I’m on. For example, if I’m on the page “http://protovest.com/recent-news/” it will still do its job and log out but the redirect url will stay on that page.

    But if I’m in the parts shop (which is hidden from the public. Only logged in registered customers can see this) and I put my cursor over the logout button, it’ll stay on the parts shop page. But the Parts shop page disappears after you log out which is why the 404 error message appears. So it becomes a broken link because that page becomes hidden after logging out.

    I hope that makes sense. I think I need to customize the permalink but I don’t know how without breaking anything 🙁

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

The topic ‘Permalink for logout not working’ is closed to new replies.