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

Secondary Menu and Logged In Users

wp_nav_menu_args is a filter inside wp_nav_menu, which is used to display navigation menus on your site. The $args parameter passed to the filter is an array containing the wp_nav_menu arguments. By default they are the following, $defaults = array( ‘menu’ => ”, ‘container’ => ‘div’, ‘container_class’ => ”, ‘container_id’ => ”, ‘menu_class’ => ‘menu’, ‘menu_id’ … Read more

Categories functions Tags functions, login, menus, navigation, users

WordPress on localhost (LAMP) – Can’t login, just redirects to wp-login.php

So I changed this in the wp-config.php file: define( ‘AUTH_KEY’, ‘put your unique phrase here’ ); define( ‘SECURE_AUTH_KEY’, ‘put your unique phrase here’ ); define( ‘LOGGED_IN_KEY’, ‘put your unique phrase here’ ); define( ‘NONCE_KEY’, ‘put your unique phrase here’ ); define( ‘AUTH_SALT’, ‘put your unique phrase here’ ); define( ‘SECURE_AUTH_SALT’, ‘put your unique phrase here’ … Read more

Categories login Tags login

How can I add a new row in a separate database when someone registers via WordPress?

(As you said, this is not specifically a WordPress question except for how to hook into WordPress functionality with users. Here are some thoughts) I think there are some design questions you need to have clear in order to make it easy figuring out the order to build things: Users signing up and signing in … Read more

Categories PHP Tags login, mysql, php, sql, wpdb

Can’t login to my own website

It sounds as though you know your username and password, but if not you can always go into PHPMyAdmin (Or whatever Db tool your server uses) and navigate to the users table. In there you can see your users, and edit your details as required, including your password which you can simply overtype with new … Read more

Categories login Tags login

How to Prevent Brute Force Attack on WordPress

To prevent brute force attacks, there are some security measures you need to implement on your site Prevent the discovery of usernames Limit login attempts Change the default login page URL Implement two-factor authentication Implement HTTP authentication Use a firewall Implement Geoblocking If you use a username and password that’s long and unique, it will … Read more

Categories login Tags login, security

Login without Password

Yes, you can add an authenticate filter to handle the email and no password case with a higher priority than the default wp_authenticate_email_password handler. e.g. (untested) function wpse_380353_authenticate_email_no_password( $user, $email, $password ) { if ( is_wp_error( $user ) || ( $user instanceof WP_User ) ) { // Already handled by a higher-priority filter return $user; … Read more

Categories login Tags login

timeouts (ERR_CONNECTION_RESET) on seemingly random files after upgrading to HTTPS

This was resolved by discountasp.net. Their note: The other issue is because the older IIS 7 server did not support TLS 1.2 protocol which your application required for SSL to work. I resolved it by migrating your site to our newer IIS 10 web server where TLS 1.2 is supported.

Categories jQuery Tags jquery, login

Input sanitation

wp-login.php should not require additional effort from you to secure. However, I don’t think that’s what you client is asking for. My question therefore is does WordPress require further development to stop SQL injections etc on login forms? And do I need to apply input sanitation to the login fields? To wp-login.php, no, you don’t. … Read more

Categories login Tags login, sanitization, security

Woocommerce Login Redirect to old domain

Your first step is correct, updating the wp_options in phpmyadmin is correct but its only step one. You will need to update all occurrences of your old domain with the new. Assuming that your DB prefix is wp_. You will fine that the table wp_posts contains all posts/pages, under the guid column you will find … Read more

Categories woocommerce-offtopic Tags login, woocommerce-offtopic

WordPress login doesn’t work when using preview domain

Turns out this is a total lie from the host company (or a misunderstanding on the part of the support people) as I managed to get access to the database and manually update the password hash and then it worked fine. So seems something somewhere has been changed by them.

Categories login Tags login
Older posts
Newer posts
← Previous Page1 … Page82 Page83 Page84 … 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