#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
login to forum inst...
 
Share:
Share
Tweet
Share
Notifications
Clear all

login to forum instead of wp platform

    Last Post
RSS

zia.zhao
Posts: 2
 zia.zhao
Topic starter
July 17, 2019 5:54 pm
(@zia-zhao)
New Member
Joined: 3 years ago

I've been searching for information about how to lead users directly to my forum after login. (because mine goes to wordpress dashboard). I found avoid using wp-login.php should fix the problem. However, I don't know how to get rid of  wp-login.php? Is there step by step tutorial? or explanations?

Topic Tags
login
1 Reply
Anonymous20
Posts: 1602
 Anonymous20
July 17, 2019 6:12 pm
(@anonymous20)
Noble Member
Joined: 6 years ago

You can actually redirect users from WP Login->Dashboard to Home page. Maybe to the forum URL (i haven't tried that).

Put this to your theme's function.php

/* redirect users to front page after login Start */

function redirect_to_front_page() {

global $redirect_to;

if (!isset($_GET['redirect_to'])) {

$redirect_to = get_option('siteurl');

}

}

add_action('login_form', 'redirect_to_front_page');

/* redirect users to front page after login end */
Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • WpForo customization
    7 months ago
  • How to modify login screen
    8 months ago
  • Threaded layout's User column profile picture not showing correctly
    8 months ago
  • Add topic doesnt work and loop
    8 months ago
  • Login Control in front of WPForo
    1 year ago
Topic Tags:  login (38),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    By Noved, 3 hours ago

  • Slight changes to my forum

    By marios, 15 hours ago

  • No Wpforo widget

    By Vijiki, 23 hours ago

  • Guest to not see recent posts on Recent activity page

    By OMTesla, 1 day ago

  • Prevent access to the url "community"

    By totor, 2 days ago

  • Dark mode

    By Vijiki, 2 days ago

Topic Tags

  • css50
  • translation49
  • plugin conflict48
  • seo45
  • new features44
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode31
  • forum accesses30
  • spam29
  • phrases28
View all tags (2163)

Recent Posts

  • RE: How to schedule a topic?

    When will this be available?It'll be a very good featur...

    By Joselito, 19 mins ago

  • RE: Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    Hi @noved, Please read this instruction:/p>

    By Robert, 2 hours ago

  • RE: Guest to not see recent posts on Recent activity page

    @omtesla, Please take a screenshot of your Usergroups...

    By Robert, 3 hours ago

  • RE: Can I permanently set a single user to have all posts moderated?

    @fawp Realistically that might be what happens at the e...

    By Upstart DM, 5 hours ago

  • RE: No Wpforo widget

    @vijiki, To Remove Share Buttons, go to Dashboard >...

    By Chris, 9 hours ago

  • RE: Dark mode

    @vijiki I think you should invest some time to learn th...

    By dimalifragis, 10 hours ago

  • RE: Slight changes to my forum

    @chris Thanks yes the theme seems to be the error. I wi...

    By marios, 11 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,770 Topics
49.5 K Posts
10 Online
44.4 K Members

Latest Post: How to schedule a topic? Our newest member: hqstrista53149 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation