• Resolved nevergrad

    (@nevergrad)


    After log in to my site i would like to go to the standard home page of my site. The normal is to go to the admin panel but i didn’t like it so i change it and now all members go to their profile infos. How can i use my home page tha standard page after loggin in.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m sure there must be a plugin that could handle this. Have you looked in the Plugin Directory for a redirect plugin or some such thing?

    Here is a little hack, open wp-login.php and look for
    $redirect_to = admin_url();

    replace it with…
    $redirect_to = get_option('siteurl');

    A caveat: altering core files is not usually a good idea especially since any mods you make will vanish the next time you upgrade.

    There are at least two ways to do this without modifying the core files.

    The easiest would be to modify your link to the login page in your theme. Instead of linking to /wp-login.php, add /wp-login.php?redirect_to=/ – assuming wordpress is running your main site. If wordpress is hosted in a sub-directory (e.g. http://www.example.com/wordpress) then use /wordpress/wp-login.php?redirect_to=/wordpress.

    Thread Starter nevergrad

    (@nevergrad)

    thank you very much guys! Problem solved!!! 😀

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘After log in- To home page’ is closed to new replies.