This should work for you if you put it in your themes functions.php file, but you may want to modify the conditions, and the url to redirect to depending on your set up.
function loginRedirect( $redirect_to, $request, $user ){
if( is_array( $user->roles ) ) { // check if user has a role
return "/wp-admin/edit.php?post_type=page";
}
}
add_filter("login_redirect", "loginRedirect", 10, 3);
Here’s a link containing more info about using the login_redirect
filter:
http://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect
There’s also a few login redirect plugins floating around if you do a google search.
Related Posts:
- Add a static page that links to homepage
- Can I change the “Home” text in the menu?
- pagination does not work with query_posts. Help! [duplicate]
- How to display text of a page in home or custom page?
- How to display by default only published posts/pages in the admin area?
- Create pages automatically if they don’t exist
- Editing Complex Pages in Visual Mode
- Can I display the widget admin in the page admin?
- Different fields in My Profile page depending on user role
- Only allow new subpages to be created
- Is there a way to remove or hide individual pages on the Edit Pages screen?
- Is it possible to set a page template on a dynamic home page (articles list)?
- What’s the most minimal way in which a page can be hooked into WP?
- Associate Page with User
- How to disable Page Attributes dropdown in wp-admin
- How to change redirect after moving a page to trash?
- Can’t change parent page
- Dashboard–> All Pages “How to create folders?”
- How to make certain page templates visible to admin only
- Static files or dynamic WP pages for “static content”?
- CMS: Making complex pages editable by the end user
- Remove specific page/post from feed
- Redirect “Sorry, you are not allowed to access this page.” to Home
- How to display thumbnail and excerpt of a page on homepage?
- Custom /page/2/ template (different from index.php)
- Is it possible to have a landing page based on the visitors location?
- Add a Menu Link (to a WordPress Page) in the Admin Menu/Sidebar
- Remove pages from backend list *and* update counter accordingly
- Custom page template not working
- Making a wordpress page the index on the site?
- How to change only the home page / front page url on wordpress
- Edit page’s “Restore the backup” link does nothing
- is_home() returns TRUE on page template
- Missing ‘Page Attributes’ in page edit
- How to get custom page template being edited in gutenberg editor
- Admin pages, edit notes of the title of posts and pages
- Site url is not showing the home page
- Can’t locate a hidden private page
- Role – edit page but not publish
- How can I get the homepage from the loop?
- Adding Page URL to the Pages Admin Table
- Updated WordPress, now getting errors on site
- My custom template page not loading content inside it?
- How to detect if is_404() or is_page() or etc…? [closed]
- Redirect page to default subpage
- How to use is_admin in page content?
- How can I use “getarchives_where” to get monthly archives for static pages?
- Create page template with some static contents
- Change page name in admin list
- Parent page shows no child content
- How to create “custom page types” with different custom fields in them?
- logout redirect only from admin page
- Is it possible to restrict access to specific pages in the admin area based on the page slug?
- I don’t want the complete article to show on homepage
- Displaying posts on homepage – Template Page
- creating single page with 2 columns while theme is 3 column
- Get rid of “comment” field on non-blog pages [duplicate]
- Publish page by invoking submit via jQuery
- How do you set the default page in WordPress?
- Pages that don’t look like blog posts?
- After creating a new page, filling the page with structure
- Limit the amount of main pages
- accessing the Admin page
- On the list of Pages, clicking to Edit a particular page redirects to the list of trash
- remove “Edit” from select pages
- Different template parts when on different pages
- URL redirect to home page issue in word press site
- How to change default home link title?
- Problem with deleting a “Page”
- Put page on Archived statut after end of publication date
- Static Home Page resets to Front Page
- Why my home page doesnt work?
- How to detect if some page template has been selected
- Admin menu disable new/delete page
- Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)
- Group Pages based on Parent in Admin Area
- disable trashability for certain pages
- Custom admin menu for a selection of pages
- How do I make just one of my pages a Blog Page?
- Want home page to click through to two different page types
- How to have more post in a page than in your home page
- How to remove title (home) from static page skeleton template
- Multiple WordPress Pages
- How to create an user defined page?
- How to access variables from one plugin in another
- Load new Posts on Scroll on Page
- How to have more post in a page than in your home page
- Default pages to be unpublished – possible?
- How to remove the trackback and pingback text on the bottom of my pages?
- How to set a default page for load first time?
- How do I create a page that displays the homepage?
- Create a plugin to create a new page in wordpress for each time a record is added into the database
- For some reason my posts are not showing up on my front page [closed]
- WordPress page edit does not save selected template
- How to limit page pagination
- Want Page Title to show on menu, but not on page
- Is it possible to check for shortcodes on a page?
- Use same page-mypage.php template for several pages
- Get child pages in get_pages function
- pages won’t show on front page using loop or pre_get_posts