WordPress.org

Forums

Change website URL (2 posts)

  1. mdhakim93
    Member
    Posted 1 year ago #

    i have change my wordpress URL, then i can't access it to my website. so, how can i change back to my default URL?? i also can't access the admin dashboard. pls help me..

  2. Jesin A
    Member
    Posted 1 year ago #

    Use PHPMyAdmin, open your database, navigate to the wp_options table and modify siteurl and home.

    The direct query for this is

    UPDATE database.wp_options SET option_value='<old site URL>' WHERE option_name='siteurl';
    UPDATE database.wp_options SET option_value='<old site URL>' WHERE option_name='home';

Topic Closed

This topic has been closed to new replies.

About this Topic