Title: Why has my siteurl changed?
Last modified: August 19, 2016

---

# Why has my siteurl changed?

 *  [trickyfizzer](https://wordpress.org/support/users/trickyfizzer/)
 * (@trickyfizzer)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/)
 * I am having huge problems. I’ve spent the last few hours trying to troubleshoot
   my way through this. I hope someone can help me.
 * My siteurl has been changed. we’ll call the original siteurl “[http://www.mysite.com/wp&#8221](http://www.mysite.com/wp&#8221);
   and it was changed to “[http://www.mysite.com/wp/book&#8221](http://www.mysite.com/wp/book&#8221);.
   Now my entire site is messed up and the admin pages as well. If I log in like
   normal, the admin pages don’t even show up…because they point to the folder “/
   wp/book” instead of “/wp”.
 * I have to manually type the URL of whatever admin page I want to see, but when
   i try to change the siterul, i get a message that says “Sorry, you need to enable
   sending referrers for this feature to work.”
 * I’ve tried installing the phpMyAdmin plugin, but it does not show up under “Manage”
   and when I try to activate it under “Plugins” it gives me the same error about
   enabling sending referrers.
 * All I need to do is correct the siteurl and everything will be right again in
   the world…How do I do that????
 * [moderated title to reflect question MH]

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

 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895781)
 * Try this method
    [http://codex.wordpress.org/Changing_The_Site_URL#Quick_fix_method](http://codex.wordpress.org/Changing_The_Site_URL#Quick_fix_method)
 *  Thread Starter [trickyfizzer](https://wordpress.org/support/users/trickyfizzer/)
 * (@trickyfizzer)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895793)
 * Well, that worked, however, I typoed in the functions.php file and now i can’t
   even log into word press because it’s pointing to a different site alltogether…
   what now?
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895795)
 * you’ll need to pull that file off the server with ftp and then reupload it after
   you fix it. The functions file will be in the wp-content/themes/_yourcurrenttheme_/
   folder.
 *  Thread Starter [trickyfizzer](https://wordpress.org/support/users/trickyfizzer/)
 * (@trickyfizzer)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895797)
 * Right. I did that, and it did change the link. The only problem is that i mistyped
   the new link. Now i can’t even log in to WP to try and correct it again.
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895799)
 * No you’ll need to use [FTP](http://codex.wordpress.org/FTP_Clients) to pull the
   file down to your local computer edit it there then upload it back to your server.
 *  Thread Starter [trickyfizzer](https://wordpress.org/support/users/trickyfizzer/)
 * (@trickyfizzer)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895803)
 * I replaced the old functions.php with a new one. In the new and edited functions.
   php file, instead of changing the link to “mysite.com/wp” like I need it to, 
   now it’s pointed to “[http://www.example.com/blog&#8221](http://www.example.com/blog&#8221);
   because I was blowing through it and didn’t even bother to change the url. So
   I refreshed it, and it pointed everything there…
 * Now my WP Log In page is pointed to example.com/blog…and since the PHP files 
   are trying to post to nothing, it’s not letting me log into WP at all.
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895805)
 * Using FTP doesn’t involve wordpress at all. Search goole for how to FTP files
   then download Filezilla and download the functions.php file and edit it then 
   upload it back to your server.
 *  Thread Starter [trickyfizzer](https://wordpress.org/support/users/trickyfizzer/)
 * (@trickyfizzer)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895806)
 * Sorry, when I say log into wordpress, I mean logging in to the control panel 
   housed on my site by going to “[http://www.mysite.com/wp/wp-login.php&#8221](http://www.mysite.com/wp/wp-login.php&#8221);
 *  Thread Starter [trickyfizzer](https://wordpress.org/support/users/trickyfizzer/)
 * (@trickyfizzer)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895808)
 * that “wp-login.php” is trying to post to “www.example.com/blog” instead of my“
   mysite.com/wp” where all of my admin and WP files are.
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895809)
 * > [http://www.mysite.com/wp/wp-login.php](http://www.mysite.com/wp/wp-login.php)
 * That is wordpress. You have another control that your host provides that has 
   other tools. The one that you used when you set up wordpress.
 *  Thread Starter [trickyfizzer](https://wordpress.org/support/users/trickyfizzer/)
 * (@trickyfizzer)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895812)
 * Okay…let me illustrate this. This error is because of the wordpress files that
   I redirected on my server.
 * This is what i get when i type in “[http://www.mysite.com/wp/wp-login.php&#8221](http://www.mysite.com/wp/wp-login.php&#8221);
   
   [Login Page](http://www.clearwaterdesigner.com/wp/login.jpg)
 * This is what I get when I log in using the correct UN and PW:
    [Error Page](http://www.clearwaterdesigner.com/wp/error.jpg)
 * This is from the redirection of the edited “functions.php” file where i failed
   to change the URL from the example. My question is how do I revert everything
   to point to “mysite.com/wp” now that it won’t even let me log into WP.

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

The topic ‘Why has my siteurl changed?’ is closed to new replies.

## Tags

 * [phpmyadmin](https://wordpress.org/support/topic-tag/phpmyadmin/)
 * [siteurl](https://wordpress.org/support/topic-tag/siteurl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 2 participants
 * Last reply from: [trickyfizzer](https://wordpress.org/support/users/trickyfizzer/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/need-help-asap-please/#post-895812)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
