I am trying to create author pages in my wordpress website. It seemed to work fine untill i tried a user with a space in his username...
A couple of users work fine except the two users with a space in the username so i guess that's the problem. In my browser it tries to access: http://mywebsite.eu/author/part1%20part2
I get my 404 error page.
By the way, the part1 and part2 are the first and last name of the user. If possible i would like to see the nickname there..
I am using the following on the author page template:
<?php $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?>
The link to the page i use is:
<?php the_author_posts_link(); ?>
Any ideas on this?