Support » Fixing WordPress » Admin Bar showing wrong dashboard url

  • Resolved bluefish1960


    I developed a site on wamp in localhost and just uploaded the theme to my host for the live site.
    All works fine, the front end and admin panels are accessible without any problem and they load from the correct urls. ie and
    The problem is simply that the admin bar displays the url and user name I used in wamp.

    How can I change it?
    Ive been into config.php and phpmyadmin to check out the database and there is nothing I have found so for to cause this.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Dumb question, but have you cleared your cache?

    No I hadn’t but it made no difference anyway, thanks Justin.

    When I inspect the element using chromes web dev tool it says

    <a class=”ab-item” tabindex=”10″ aria-haspopup=”true”
    href=”http://localhost/Wordpress/wordpress2/wp-admin/”>Dev Site 2

    How to edit this is the question! But this only happens when viewing the site. In the admin panel it displays correctly.

    And likewise, the user name on the right has this on inspection

    <a href="http://localhost/Wordpress/wordpress2/wp-admin/profile.php" title="My Account">Howdy, andy</a>

    [Please post markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I found the answer. All the links going to my localhost were in the footer.php

    Can’t remember how they got there, possibly when getting rid of an encrypted footer I guess.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Admin Bar showing wrong dashboard url’ is closed to new replies.