I am trying to change the site url of this site, xn--bebji5b.com... Currently the homepage url is showing https://www.מכרז.com/home-2/... I tried to change the url from wordpress dashboard settings as well as by modifying wp-config file. Also changed the static front page couple of time and changed hyperlink types. But nothing is working.

  • This happened after migrating it from another server.
    – Ehsan
    Jul 27, 2017 at 17:29
  • After changing the site url from your WordPress dashboard, what do you get (see)? Jul 27, 2017 at 17:34
  • Nothing. The same as now
    – Ehsan
    Jul 27, 2017 at 18:03
  • If you don't want to do it in the admin panel, you can use a tool like SRDB (search and replace un the database). Don't forget to erase it After, it's very dangerous to leave it on a server...
    – Benoti
    Jul 27, 2017 at 18:33
  • I directly changed it on the server and it worked.
    – Ehsan
    Jul 27, 2017 at 22:30

1 Answer 1


Login to your phpmyadmin and execute these mysql queries - change the value of url accordingly

UPDATE wp_options SET option_value = replace(option_value,'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET guid = replace(guid,'http://www.oldurl','http://www.newurl');

UPDATE wp_posts SET post_content = replace(post_content,'http://www.oldurl', 'http://www.newurl');

UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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