Title: WordPress defect
Last modified: August 20, 2016

---

# WordPress defect

 *  [elenagroot](https://wordpress.org/support/users/elenagroot/)
 * (@elenagroot)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-defect/)
 * I have accidently changed the URL of my website. Then I got redirected to [http://mysitename/?page_id=2%2Fwp-login.php&redirect_to=http%3A%2F%2Fwww.mysitename.com%2Fwp-admin%2F&reauth=1](http://mysitename/?page_id=2%2Fwp-login.php&redirect_to=http%3A%2F%2Fwww.mysitename.com%2Fwp-admin%2F&reauth=1)
 * I managed to change this back by using FileZilla, and was able to login to wp-
   admin again.
 * But I think I did something wrong, again. Now I am able to login again, and the
   website is looking fine, but the program WordPress itself isn’t. If I want to
   edit pages ‘wysiwig’ options are shown like it html. If I press on html nothing
   happens. All the letters are white. I can’t change the status of the pages. I
   can’t activa the Maintance Mode plugin, nothing happens. I can’t even log out!
 * I think I have accidently changed something when trying to get the original URL
   back. Can someone help me with this?

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

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-defect/#post-2409573)
 * > I managed to change this back by using FileZilla, and was able to login to 
   > wp-admin again.
 * How did you do this? Did you do it by one of the methods outlined here: [http://codex.wordpress.org/Changing_The_Site_URL](http://codex.wordpress.org/Changing_The_Site_URL)
 *  Thread Starter [elenagroot](https://wordpress.org/support/users/elenagroot/)
 * (@elenagroot)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-defect/#post-2409574)
 * Yes, I used the explanaiton from section 1.2.
    I looked up the file functions.
   php (which I found under wp-contents). There I added two phrases:
 * update_option(‘siteurl’,’[http://example.com/blog&#8217](http://example.com/blog&#8217););
   
   update_option(‘home’,’[http://example.com/blog&#8217](http://example.com/blog&#8217););
 * Saved it, uploaded it. Logged in on [http://mysit.com/wp-admin](http://mysit.com/wp-admin),
   went to the settings, checked if the site URL and home URL were set normal again,
   saved it. Then I removed the above phrases again by FileZilla, uploaded it and
   logged in again, and than it was working awkward..
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-defect/#post-2409575)
 * try:
    – deactivating **all** plugins to see if this resolves the problem? If 
   this works, re-activate the plugins one by one until you find the problematic
   plugin(s).
 * – switching to the default theme to rule out any theme-specific problems.
 * – updating your permalinks by choosing the default permalink structure or re-
   saving your current structure at Settings > Permalinks in your admin panel. WordPress
   will rebuild the [.htaccess file](http://codex.wordpress.org/Using_Permalinks#Where.27s_my_.htaccess_file.3F).
   If WordPress cannot automatically edit the .htaccess file, it will provide manual
   instructions after saving.
 * Do you have any cache plugin active?
 *  Thread Starter [elenagroot](https://wordpress.org/support/users/elenagroot/)
 * (@elenagroot)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-defect/#post-2409579)
 * All my plugins are already deactivated, so I don’t think they are the problem.
   But wordpress is not working well so I can’t activate them either.
    I’m gonna
   try the other suggestions, thanks 😉
 *  Thread Starter [elenagroot](https://wordpress.org/support/users/elenagroot/)
 * (@elenagroot)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-defect/#post-2409583)
 * Uhm, maybe stupid question, but how do i set the theme to default? And if this
   is not causing the problem, how can i set it back again?
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-defect/#post-2409585)
 * try:
    – switching to the default theme by renaming your current theme’s folder
   in wp-content/themes using [FTP](http://codex.wordpress.org/FTP_Clients) or whatever
   file management application your host provides.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by using [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file management
   application your host provides. Sometimes, an apparently inactive plugin can 
   still cause problems.
 * – renaming or deleting the [.htaccess](http://codex.wordpress.org/Using_Permalinks#Where.27s_my_.htaccess_file.3F)
   file by using [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file 
   management application your host provides. If you delete it make a backup first.

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

The topic ‘WordPress defect’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-defect/#post-2409585)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
