WordPress Redirects to a cancelled domain, need to change it but can’t get to the admin portal

If you have access to the database, go into the wp-options table and change the two instances of www.olddomain.com to www.newdomain.com . You should be able to log into the admin area then. Then use a Search and Replace plugin (I like “Better Search and Replace”) to change all instances of www.olddomain.com to www.newdomain.com ) … Read more

My blog load time on Bluehost and Word press is too much. I have slipped in Google Search Ranking

Your total time for DNS is 486ms, which is OK. So the loading time issue is not with the hosting: http://prntscr.com/uw69rh You need to optimize your site for a faster loading. It looks like getting rid of the Fontawesome alone can save you a massive 2,580ms: http://prntscr.com/uw6bd9 So start with that. Replace all of your … Read more

On a multisite environment, get the subdomain value as variable

wp_insert_site recieves WP_Site object, which contains details about the current site. https://developer.wordpress.org/reference/hooks/wp_insert_site/ do_action( ‘wp_insert_site’, WP_Site $new_site ) Fires once a site has been inserted into the database. https://developer.wordpress.org/reference/classes/wp_site/ WP_Site Object ( [blog_id] => 2 [domain] => localhost [path] => /m2/sagres/ [site_id] => 1 [registered] => 2018-03-23 13:49:37 [last_updated] => 2019-03-05 15:52:10 [public] => 0 [archived] … Read more