Forums

why would my buttons and links point to localhost? (3 posts)

  1. numen
    Member
    Posted 3 years ago #

    Hi,
    I developed this site locally first http://foodery.com/draft/, then uploaded to the hosting site, both the files and DB. Everything works OK, except some of the links within the site point to localhost versions of the site.

    For example, in the nav bar About Us should be going to http://foodery.com/draft/?page_id=2, instead it links to http://localhost/foodery/?page_id=2. The exception to this is the Blog page, which i hand coded. Problem seems to exist with dynamic links only.

    So somewhere the DB or link is pulling in the setting for localhost. Any suggestion where to find this and fix? Thanks so much.

  2. knalstaaf
    Member
    Posted 3 years ago #

    Could anyone give this a decent answer pls?

  3. bmilliot
    Member
    Posted 3 years ago #

    Did you try this:

    http://codex.wordpress.org/Changing_The_Site_URL

    Worked for me.

Topic Closed

This topic has been closed to new replies.

About this Topic