Site broken after using URL Change in Admin

I wanted to use the site URL change in the general settings page of the admin panel to remove the trailing /wp from my privately hosted wordpress site. After submitting these changes, I am locked out by errors every time I attempt to log in–from a log-in page where the CSS is gone. I have attempted to update the config.php file with


But this did nothing. The Relocation function also did nothing, and I have no functions.php file. According to the codex, that leaves me only with editing the database directly. How can I undo the damage and achieve my desired result of landing on my wordpress site with just instead of

Solutions Collecting From Web of "Site broken after using URL Change in Admin"

Follow the steps below:

  1. Move your file to new folder
  2. Go to your phpmyadmin desire database
  3. Find wp-option change the site url only here to your desire url
  4. Then login to back-end go to general and change both url here to new url
  5. Hit save

It will work perfectly if you want to move WordPress into new location.

Have you checked this one? If no just check this post. Hope this will help you to solve your problem

The best way to move an WordPress website to another URL is by exporting, replacing and importing the database. Try doing this by using PHPMyAdmin or another database management tool. For phpmyadmin just select your database and click on export.

After downloading the export of your database, open it in a simple texteditor (Notepad++, Textwrangler) and fire up the search and replace screen. Replace // with //

Just to be sure, search the file again for //, no results should be found. Then save the file.

Now open up phpmyadmin again, and create another export as an backup. Then delete all tables, and import your replaced SQL file. Now your database should be updated, and the rules in wp-config.php are not needed anymore.

Your site should be working on the other domain now.

Don’t forget to re-save your permalinks afterwards.

Check you .htaccess file

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

You can always delete your .htaccess and then once logged back in go to permalink and change it from what you have to another option save page then select your desired permalink and save again this should force wordpress to recreate .htaccess