• Hello All,

    So I added this line of code in for my login:
    <?php wp_loginout(get_permalink()); ?>

    Which works really well. It’s pretty cool that simple line of code handles redirecting people logging in and out without going to the dashboard.

    Anyway, the site I’m building requires people to login to comment (I know it’s crazy, but it will eventually turn into a community site). I scoured the forums for a simple way to block the dashboard from subscribers and nothing works. Although users would have to actually type in /wp-admin to get the dashboard at this point. I was wondering if there was a simple way to redirect subscribers from wp-admin/ and wp-admin/profile.php to a custom profile page in my child theme so it would be mysite.com/profile. I doubt many people are going to go and actually type /wp-admin but I just want to make sure everything works properly no matter what people do.

    I looked at some of the redirection plugins, I’m not sure if a 301 redirect is what I should be using? I have never used error or redirection pages before. Anyone have some advice on a simple way to do this?

    I’m using Bitnami-Wordpress 3.2.1, Amazon EC2, Thematic is the parent theme.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Question About Redirects’ is closed to new replies.