Please put below code on your theme funcation.php file
add_action('user_register','post_user_reg_redirect');
function post_user_reg_redirect( $user_id )
{
$url="http://example.com";
wp_redirect($url);
die();
}
Related Posts:
- Redirect user based on role when they try access a particular page
- If the current user is an administrator or editor
- How to allow an user role to create a new user under a role which lower than his level only?
- Remove Ability for Other Users to View Administrator in User List?
- Find out if logged in user is not subscriber
- Groups of capabilities: users with multiple roles?
- Allowing users to edit only their page and nobody else’s
- alphabetically order role drop-down selection in dashboard
- Execute a function when admin changes the user role
- How to let contributors to create a new revision(draft) editing their published posts
- How to hide media uploads by other users in the Media menu?
- Show admin bar only for some USERS roles
- How to check user role without using current_user_can()
- \WP_User Object | What’s the Difference Between {caps} and {allcaps}?
- How to enable the theme editor cap for an editor role?
- How to assign capabilities to user NOT to User Role
- BuddyPress | Check if user is in current group [closed]
- Return ID of authors who have at least one post
- Redirect after User Activation [closed]
- Redirecting user after updating profile?
- How do I properly format the user_role array?
- How-to Delay The Capability To Publish Posts?
- Is there a simple way to manage capabilities per user?
- Redirect after login based on user role (custom login page)
- WP_User->add_role producing unexpected results
- How can I check if the admin bar is visible to the current user?
- Redirect User to Homepage if no other redirect is specified
- Can I create users that have access to *some* other users posts instead of all other users posts?
- Set default page for user account in admin
- Tagging users in WordPress
- Hide everything on site for visitors except specific page IDs
- Get User Role by ID not working
- the_author_meta(‘user_url’, $author->ID) not working properly. how can I solve this?
- Getting users by specific capability, not role
- add_cap not working with Shop Manager role
- Redirect user to login before viewing custom post
- How to disable a specific page for a specific user
- Updating wp_user_level on user update
- wordpress user roles are not working
- Displaying different in-page content to cliente/admin
- User capability for editing their own comments
- Is there a way to identify a user in a custom REST API method? [duplicate]
- Problem with automatic role change through cron job
- WP_User_List -> How to open a new edit-page in WordPress admin backend!
- Allow Contributors to Upload Files
- Add a role and give admin priviledges
- WP not logging in at first time
- Does wordpress support natively the concept of logging-in users? (not admins, but users of the website)
- How can I prevent certain custom roles from seeing other custom roles on the user list page?
- How many people are allowed to use same wordpress account at the same time?
- Restrict access to non-wordpress section of site with user roles?
- Redirect logged on user to a specific page based on wp user role, page id
- What’s the correct way to add capabilites to user roles?
- How to hide user profile fields based on the role of the viewed user?
- User roles not displaying
- Allow admins to login as other users
- How to add array [closed]
- Does it matter if the very first user, usually Admin, does not have a user ID of 1?
- Customising “user ids” and add to ‘user’ panel in the admin area
- Redirect users after login
- How to hide some users to unlogged users [closed]
- List all users and current week entries
- Groups and subgroups for permission
- redirect user to their profile after log in
- WordPress Redirect Specific User. Tired of Peter’s redirect Plugin its not working
- Redirect current user to their most recent custom post
- how redirect users to custom login page when “login to reply” is clicked? [duplicate]
- Assigning multiple or additional capabilities to specific users or how to create additional roles like bbpress roles?
- Change User Role based on Point System Issue
- how do I add role and capability after I create a new user
- Get Authors Role
- How do I modify the user role ‘subscriber’ to allow the user to delete posts
- WordPress user role with create user capability?
- User can’t search himself on rest api
- Update user role for expired membership
- How to remember which page the user was on before logout?
- How to make WordPress ‘editor’ role to list/view/add/edit users only with the role ‘author’?
- How to hide “Change role to” dropdown on Users admin menu
- hide page menu from admin panel for specific users
- Hook into add_user_role and update based on new and removed roles
- How to Moderate Edits to User Profiles?
- Create relationships between users or user roles
- Disabling user capability to edit_posts or delete_posts in the front-end
- Redirect /member/ to /member/user
- Updated user role inncorrect when using wp_get_current_user()
- User Permissions on custom post type
- User Role not showing in Users Screen
- Show user details only
- Specific Content on pages based on user
- WordPress install checking permissions of user id 0
- Allowing users to edit only their page and nobody else’s
- How to bulk change user role to “No role for this site”
- Access level seems to have gone from admin to editor
- Limit roles displayed in users.php depending on custom role
- Creating Custom user type just like custom post
- Control Category of each user can post
- Giving users an editable homepage/business directory
- Show only users with the same role in Dashboard user list
- Remove My Account Menu items in Woocommerce based on user roles
- WordPress: New user role which is ONLY allowed to manage media