user/logout access denied v7.34 Admin or normal user can not logout using www.myswebsite.com/user/logout

An access denied page is displayed and the user is still logged.

using ?q=user/logout works.

It is not a rewrite problem, all other url are ok.

I have cleared the cache and deleted the cookies, tried on FF, IE &amp; Chrome.

Any idea to investigate ?
Try different way 


This works for me if I substitute the logged-in username for 'user', like this:


http://my_site/my_user/logout

ie:

http://example.com/jdoe/logout


this might be problem with not enabling clean url in your site go to 


http://example.com/admin/config/search/clean-urls 

enable clean url and check if its working 


as you mentioned use http://example.com/user/logout will logout the current user section


Further readings:
logout problem - https://www.drupal.org/node/1572984

enabling clean url - https://www.drupal.org/node/1572984

access denied + logout - https://www.drupal.org/node/2192401