Redirect Dashboard to Entry Edit on Login

Problem

You want to change your default view upon logging to “Edit Entry” instead of the dashboard.

Solution

Within the config file, you can add this line:

$cpRoutes['dashboard'] = array(
    'action' => 'entries/editEntry',
    'params' => array('variables' => array('sectionHandle' => 'blog')
));

Change the sectionHandle from “blog” to whatever handle you want.