6

After changing siteurl ,home url form database it shows 3/4 errors called

Notice: Undefined index: host in /var/www/html/wp-includes/canonical.php on line 445

Notice: Undefined index: scheme in /var/www/html/wp-includes/canonical.php on line 465

Notice: Undefined index: host in /var/www/html/wp-includes/canonical.php on line 444

Notice: Undefined index: host in /var/www/html/wp-includes/canonical.php on line 444

I have no idea whats wrong with this.

7

When I change the url from the database I just put forgot to keep http before the ip address . When I set the http it works fine here.

3

As an update on this: You can debug this by entering your WordPress Database table named "wp_options" and check for the tables "siteurl" and "home". These should reveal a mistake with your url (often http:// or https:// is not copied correctly).

2

This is a bug in WordPress, scheduled for fix in v5.0: https://core.trac.wordpress.org/ticket/34353

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.