I get a 404 page when loging in to wordpress for all my users. It adds an extra "/" so its like website.com//
I am using:<?php wp_loginout(urlencode($_SERVER['REQUEST_URI'])); ?>
So that after a user logs in, it brings them back to where they were.
Is there something wrong with that code? Any ideas? This might help: http://pastebin.com/28tURS8m Thanks