Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

login

https to https problem – 404 and can’t login

The wordpress database is still holding some data (post content, image urls etc) in it’s database. You need to go into your database and change the url references to the non-ssl as well. I suggest NOT doing this through phpmyadmin though as it will cause some problems. Go get this tool: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ Upload the contents … Read more

Categories login Tags 404-error, http, https, login, ssl

How to redirect home page to another page after login for all user?

By adding this to your theme functions.php file: function login_redirect( $redirect_to, $request, $user ){ return home_url(“https://wordpress.stackexchange.com/”); } add_filter( ‘login_redirect’, ‘login_redirect’, 10, 3 );

Categories plugin-development Tags login, plugin-development, template-redirect, wp-redirect

I renamed my server from http to https and now I can’t login

Have you tried a database migration plugin? WP stores serialized data about the URLs so often simply updating the home and site_url option is not enough. Also try an Incognito window or another browser to see if you have old redirects cached.

Categories login Tags https, login

logout redirect only from admin page

For your if condition, use the is_admin function to determine if the user is currently viewing a backend administrative dashboard page or are on the frontend of the site. So your code above would resemble: add_action(‘wp_logout’,’redirect_after_logout’); function redirect_after_logout(){ if( is_admin() ) { wp_redirect( home_url() ); exit(); } } For more information, see the codex documentation … Read more

Categories pages Tags admin, login, pages, redirect

How to prevent a user from login in, but allow “su – user” in Linux?

You can use AllowUsers / AllowGroups if you have only a few users/groups that are allowed to login via ssh or DenyUsers / DenyGroups if you have only a few users/groups that are not allowed to login. Note that this only restricts login via ssh, other ways of login (console, ftp, …) are still possible. … Read more

Categories linux Tags linux, login, su

Logout Redirect and also WP-login.php Redirect

you can do that with this code (paste it to your functions.php) function auto_redirect_external_after_logout(){ // check if user is leaving from admin // is_admin() check would not work here probably as we left the admin already if ( false !== strpos( $_SERVER[‘HTTP_REFERER’], ‘wp-admin’ ) ){ wp_redirect( ‘http://www.example-from-admin.com’ ); } else { wp_redirect( ‘http://www.example-from-front.com’ ); } … Read more

Categories functions Tags admin, functions, login, logout, redirect

How to restrict access to a single for users I’ve authorized? [closed]

You can do this without any plugins rather easily. If you’re only going to have a single page that needs to be accessed with an account created by you, try creating a page template with something like the below. Note: you should create any new account as a subscriber. <?php /* Template Name: Private Page … Read more

Categories login Tags content-restriction, login, user-access

wordpress/woocommerce login url not redirecting correctly

Solved the issue. I use varnish on my site and this was causing the problem. If you use varnish too exclude the my-account page and the following cookie from your varnish: wp-resetpass-.?

Categories woocommerce-offtopic Tags login, password, woocommerce-offtopic

Login without running bash_profile or bashrc

I think your only options are: ssh in as another user and su to your account; use something like ftp or smbclient, if the relevant services are enabled on the host; find an open vulnerability in an open network service and exploit it :). get an admin to fix the problem.

Categories ssh Tags bashrc, login, ssh

Does deleting the table users prevent all logins?

to answer your question yes without the user table no one will be able to login because the database holds no login information. you may of been better off securing your /wp-login from brute fore attacks in a different way https://wordpress.org/support/article/brute-force-attacks/ i.e limiting the ip access to the login area

Categories admin Tags admin, login, security
Older posts
Newer posts
← Previous Page1 … Page77 Page78 Page79 … Page164 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress