Changing siteurl in the database not working

WordPress has a number of standard methods to change or override these url options: using update_option() function in functions.php or anywhere else in the code, this way: update_option( ‘siteurl’, ‘https://yourdomain.com’ ); update_option( ‘home’, ‘https://yourdomain.com’ );This is most likely your case because update_option() edits db entries at runtime. In this case, just remove or comment out … Read more

Changing url of author page

Yes, if you really want to just change it directly in the database, you are looking for the user_nicename field (column) in the users table. This is the value that WP uses for author archive URLs.

Sanitizing URL in a WordPress plugin

Good on you for trying to do this properly – but… how about this? global $wp; echo esc_url( home_url( $wp->request ) ); EDIT: Versions of your above code have been written all over the internet – see this SO question with 000s of votes. rather UN-intuitively it’s not a super simple thing to do as … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)