• I am running WordPress 4.2.2 with WooCommerce 2.3.11 plugin. When a user with role subscriber or customer registers, he is not only redirected to his My Account page but also he is not able to access his Dashboard or Profile Page. Any attempt to access /wp-admin/profile.php gets redirected to the My Account page.

    Based on this article I also tried to redirect to Dashboard for the customer and subscriber role using the following code snippet but that did not work either :

    elseif ( $role == 'customer' || $role == 'subscriber' ) {
    		//Redirect customer and subscriber to the dashboard
    		$redirect = $dashboard;
    }

    When I deactivate the WooCommerce 2.3.11 plugin everything works just fine and the user with subscriber role is able to access his Dashboard and Profile page.

    How could I access the Dashboard and Profile page for users with role customer and subscriber?

    https://www.ads-software.com/plugins/woocommerce/

  • The topic ‘Can't access dashboard/profile page’ is closed to new replies.