Change admin logout URL

My site is using a short vanity URL. This is working across all of the custom theme pages. The only problem is when I logout in the admin it redirects to the long URL, which then 404s.

My General Settings (which I can’t change) are:

Read More

WordPress address (URL): The long URL
Site address (URL): The short URL

Looks like the logout link is generated from wp-includes/general-template.php, but I hate to edit core, non-theme, WordPress files.

Any ideas how to solve this logout 404 problem is greatly appreciated.

Related posts

Leave a Reply

1 comment