Title: Changing URL from the database
Last modified: August 21, 2016

---

# Changing URL from the database

 *  [Stanley9191](https://wordpress.org/support/users/stanley9191/)
 * (@stanley9191)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/changing-url-from-the-database/)
 * I have changed my home and site URL through my wordpress admin panel, and as 
   a result disabled access to the website and to the admin panel.
 * After reading about the problem [here](http://codex.wordpress.org/Changing_The_Site_URL)
 * I changed the relevant fields in the database exactly as detailed in the instructions(
   edited wp-options->siteurl and wp-options->homeurl and gave them the original
   URL), but the problem was not resolved: the website, it’s wordpress admin panel
   and FTP are all not accessible.
 * Any idea what is the problem (and how to fix it)?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Allen Moore](https://wordpress.org/support/users/amcreative/)
 * (@amcreative)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/changing-url-from-the-database/#post-4408994)
 * Hey Stanley9191,
 * FTP is not available? Changing those two particular options in the database should
   not cause issues with your FTP access.
 * What is the url?
 *  Thread Starter [Stanley9191](https://wordpress.org/support/users/stanley9191/)
 * (@stanley9191)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/changing-url-from-the-database/#post-4409026)
 * >  Hey Stanley9191,
   > FTP is not available? Changing those two particular options in the database
   > should not cause issues with your FTP access.
   > What is the url?
 * Thanks for your reply.
 * Maybe I wasn’t clear before: What caused the whole problem was me changing those
   urls in my wordpress admin panel, not in the DB.
 * changing those options in the DB did not cause further problems, just didn’t 
   solve anything (even though I followed the instructions in the link that I mentioned).
 * FTP is available if I go directly to its IP. I used it to try another solution
   that was suggested in that link, which is adding these lines:
    define(‘WP_HOME’,’
   [http://example.com&#8217](http://example.com&#8217);); define(‘WP_SITEURL’,’
   [http://example.com&#8217](http://example.com&#8217);); (when example.com being
   my website url)
 * to the wp-config.php file, but it still didn’t help.
 * I’m sorry, but I’d rather not mention my url. If anyone can help me despite that,
   I’ll be really grateful.
 *  [Allen Moore](https://wordpress.org/support/users/amcreative/)
 * (@amcreative)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/changing-url-from-the-database/#post-4409028)
 * Hey Stanley9191,
 * Do you have phpMyAdmin access through a hosting Admin Panel?
 * If so, I would make an attempt to change these in the database.
 * To do so, locate your database, then follow the directions on [http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database](http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database)
 * I would remove the options you changed in the wp-config.php file also.
 *  Thread Starter [Stanley9191](https://wordpress.org/support/users/stanley9191/)
 * (@stanley9191)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/changing-url-from-the-database/#post-4409034)
 * Hey Allen Moore,
 * I do have phpMyAdmin access, which I already used to change the database as you
   said (that’s what I’ve been trying to tell, might be my not-that-good English
   that made it unclear).
 * I tried this with and without those lines in the wp-config.php file, in both 
   cases it didn’t work.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Changing URL from the database’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Stanley9191](https://wordpress.org/support/users/stanley9191/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/changing-url-from-the-database/#post-4409034)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
