WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a WordPress site hosted on GoDaddy, it's a Windows server, (i have the web.config set up). and .htaccess correctly configured. The site was working on example.com/wordpress , as it was a development test. I moved the site to example.com .

I changed the site url and wordpress URL to example.com on the database through PhpMyAdmin, and updated the permalink structure.

I also updated all the wp_post 'content' field to change the URL's.


When I try to Log In to the admin panel through example.com/wp-admin, the URL shows as


Why could this be happening if both the site url and wordpress url match, and match with the database.

Additional Notes

This isn't a cache issue (At least not on the browser's side), I have tried different browsers, and I do most of the testing on incognito chrome windows.

I have tried setting update_optionfor both siteurl and home in functions.php and:


I also tried the Relocate Method explained on the Codex http://codex.wordpress.org/Changing_The_Site_URL

share|improve this question
Do you see correct URLs showing in Settings > General? – Rarst Nov 4 '13 at 9:39
Yes. It displays both URLs as the new one. (example.com) – Jesús Otero Nov 4 '13 at 10:39
up vote 1 down vote accepted

I had the same issue. To fix it I had to make some changes to the database. Use phpMyAdmin or just log directly into the database and look at your wp_options table. Check the following two fields: siteurl and home.

Make sure these fields hold the correct domain information if not change them and see what happens. In my case the issue was resolved.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.