Log out URL returns 503, redirects to path with double slash When users access /user/logout they receive a "Page Not Found" error, and the URL they are forwarded to looks like this:

https://wwws.site.com/dir/site_name//dir/site_name/

Why is this redirect happening and how do I change the logout path so that it wouldn't create the double slash?
You should use URL() to create logout url. For example,

url('user/logout')