User Profile Access Attempt Wrongly Redirects to Home page instead of Login Page
-
Unauthenticated User Profile Access Attempt Wrongly Redirects to Home page instead of Login Page
For example, When Non-Logged in users attempt to access the (User Profile Page), UM incorrectly redirects to the Home page instead of redirecting to the (Login Page) as configured within ‘Profile — UM User’ > ‘UM Content Restriction’ page.
[ultimatemember form_id=”2818″]
Repro Steps
———————————————–
1) Login to WordPress Server
2) Within Left Menu Pane, select WP – ‘Pages’
3) Locate ‘Profile — UM User’ page
4) Select – ‘Edit’
5) Under ‘What happens when users without access tries to view the content?’ – select ‘Redirect user’
6) Under ‘Where should users be redirected to?’ – Select ‘Login page’
7) Click ‘Update’
8) Logout of WordPress Server or open another (unauthenticated) browser session
9) Go to: Site ‘Home’ Page
10) Attempt to go to Member / Profile page
Example: https://localhost/g2m_wordpress/user/11) Notice that the page is redirected to ‘Home page’ instead of the expected ‘Login page’ as previously configured within ‘Profile — UM User’ > ‘UM Content Restriction’
Note: Custom Redirect URL also does Not work
WordPress & Plugin Details
—————————
### Begin Install Info ##### Please include this information when posting support requests ##
— Site Info —
Site URL: https://localhost/mydomain
Home URL: https://localhost/mydomain
Multisite: No— Hosting Provider —
Host: DBH: localhost, SRV: localhost
— User Browser —
Platform: Windows
Browser Name: Firefox
Browser Version: 69.0
User Agent String: Mozilla/5.0 (Windows NT 10.0; Wi
n64; x64; rv:69.0) Gecko/2010010
1 Firefox/69.0—- Current User Details —
Role: administrator
— WordPress Configurations —
Version: 5.2.4
Language: en_US
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Active Theme: Vmagazine 1.1.4
Page On Front: Home (#2578)
Page For Posts: (#0)
ABSPATH: C:\xampp\htdocs\mydomain/
All Posts/Pages: 91
WP Remote Post: wp_remote_post() works
WP_DEBUG: Disabled
WP Table Prefix: Length: 3, Status: Acceptable
Memory Limit: 40MB— UM Configurations —
Version: 2.0.56
Upgraded From: 2.0.56
Current URL Method:
Cache User Profile: Yes
Generate Slugs on Directories: Yes
Rewrite Rules: Yes
Force UTF-8 Encoding: No
JS/CSS Compression: No
Port Forwarding in URL: No
Exclude CSS/JS on Home: No— UM Pages Configuration —
User: https://localhost/mydomain/user/
Account: https://localhost/g2m_wordpress/account/
Members: https://localhost/mydomain/members/
Register: https://localhost/g2m_wordpress/registration/
Login: https://localhost/mydomain/login/
Logout: https://localhost/mydomain/logout/
Password Reset: https://localhost/mydomain/password-reset-2/— UM Users Configuration —
Default New User Role: subscriber
Profile Permalink Base: user_login
User Display Name: full_name
Force Name to Uppercase: No
Redirect author to profile: Yes
Enable Members Directory: Yes
Use Gravatars: Yes
Gravatar builtin image: default
UM Avatar as blank Gravatar: No
Require a strong password: Off— UM Access Configuration —
Panic Key:
Global Site Access: Site accessible to Everyone
Backend Login Screen for Guests: No
Redirect to alternative login page:
Backend Register Screen for Guests: No
Redirect to alternative register page:
Access Control widget for Admins only: No
Enable the Reset Password Limit: Yes
Reset Password Limit: 3Disable Reset Password Limit for Admins: No
Blacklist Words: 8— UM Email Configurations —
Mail appears from: mydomain
Mail appears from address:
Use HTML for E-mails: Yes
Account Welcome Email: No
Account Activation Email: Yes
Pending Review Email: No
Account Approved Email: Yes
Account Rejected Email: Yes
Account Deactivated Email: Yes
Account Deleted Email: Yes
Password Reset Email: Yes
Password Changed Email: Yes— UM Total Users —
All Users(4)
administrator(2)
subscriber(2)
none(0)— UM Roles —
Administrator (administrator)
Editor (editor)
Author (author)
Contributor (contributor)
Subscriber (subscriber)— UM Custom Templates —
N/A
— UM Email HTML Templates —
N/A
— Web Server Configurations —
PHP Version: 7.3.2
MySQL Version: 5.5.5
Web Server Info: Apache/2.4.38 (Win64) OpenSSL/1.1.1a PHP/7.3.2— PHP Configurations —
PHP Memory Limit: 256M
PHP Upload Max Size: 10M
PHP Post Max Size: 8M
PHP Upload Max Filesize: 10M
PHP Time Limit: 30
PHP Max Input Vars: 1000
PHP Arg Separator: &
PHP Allow URL File Open: Yes— Web Server Extensions/Modules —
DISPLAY ERRORS: N/A
FSOCKOPEN: Your server supports fsockopen.
cURL: Your server supports cURL.
SOAP Client: Your server does not have the SOAP Client enabled.
SUHOSIN: Your server does not have SUHOSIN installed.
GD Library: PHP GD library is installed on your web server.
Mail: PHP mail function exist on your web server.
Exif: PHP Exif library is installed on your web server.— Session Configurations —
Session: Disabled
Session Name: PHPSESSID
Cookie Path: /
Save Path: C:\xampp\tmp
Use Cookies: On
Use Only Cookies: On— WordPress Active Plugins —
amr shortcode any widget: 3.7
Child Theme Configurator: 2.5.0
Page Builder by SiteOrigin: 2.10.10
Query Monitor: 3.3.7
Ultimate Member: 2.0.56
USP Pro: 3.4
Vmagazine Companion: 1.0.3
VMagazine Elementor Addons: 1.0.1
Widget Importer & Exporter: 1.5.5
WordPress Importer: 0.6.4
WPForms Lite: 1.5.5.1
WP Mail SMTP: 1.6.2### End Install Info ###
- This topic was modified 4 years, 12 months ago by .
- This topic was modified 4 years, 12 months ago by . Reason: Added additional info
The page I need help with: [log in to see the link]
- The topic ‘User Profile Access Attempt Wrongly Redirects to Home page instead of Login Page’ is closed to new replies.