I'm currently using the s2member plugin to allow me to create a client portal where users can log in and visit their own secure unique page. (This uses custom capability and the page must be called the same as their username.)
But then i also have people that just log on to view my blog and are not clients.
My question is.
Can i have a link called "My Page" and have some code which says if page name = username then redirect to their page if not then redirect to home page?
Any code help would be great.