After wamp/WordPress localhost install, every open is redirected to a Yahoo/Alt (4 posts)

  1. chiron34
    Posted 4 years ago #

    Posted 3 minutes ago # Edit

    I have a problem similar to that resolved two days ago: wampserver home page instead of my website.

    I am a newbie to WordPress and wamp. I've set up local host on wamp server but have run into a technical problem. When I open Firefox>New Tab and enter 'localhost', or 'localhost/wp-admin', or any localhost-based word combination, I get automatically redirected to an AltaVista search result: http://us.yhs4.search.yahoo.com/yhs/search?fr=altavista&itag=ody&q=http://localhost/wp-admin/themes.php.

    Is there a reason for this? Do you think I did something wrong in my installation?

    It seems to me that a quick fix for this would be to change the name of 'localhost' in my wp-config.php file; e.g. - here's a cut and paste extract from my wp-config.php:

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'WordPress');

    /** MySQL database username */
    define('DB_USER', 'root');

    /** MySQL database password */
    define('DB_PASSWORD', '');

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    Is it possible for me to just open wp-config.php and physically change 'localhost' to something like: chironhost (based on my project name that uses the word chiron in the title.

    I am reluctant to do this by myself when I don't know if there will be any adverse repercussions from making such a change directly in wp-config.php.

    Any suggestions, advice?

    Many thanks in advance for looking at this for me.




  2. loughcorrib
    Posted 4 years ago #

    you are putting localhost into your search engine ? type local host into browser or try wordpress folder

  3. chiron34
    Posted 4 years ago #

    Hi, loughcorrib, Thanks for taking the trouble to review my difficulty. I think you have hit upon the real problem, because I myself have realised that my post above is not a correct reflection of the problem.

    Upon review, I came to the conclusion that I was on the wrong tram in the way that I was looking at the problem. I concluded that it was not so much a WAMP/WordPress problem as a Firefox problem where Firefox was looking at the ‘localhost’ entry in the URL bar as keywords (as a search term) for an external search engine search and not a link to an internal file. So I wrote up the problem from that alternative perspective and posted it on an appropriate Firefox forum. The link is here:


    I have had a couple of responses on that forum, but am yet to work through the latter two as they were posted during my night and I have only just read them. I am in Brisbane, Australia.

    I am a novice in this field, so I am not sure how to implement your suggestion that I 'try wordpress folder'. Perhaps you could explain the process in a little more detail for me.



  4. chiron34
    Posted 4 years ago #


    I thought you might be interested to find out how my WAMP/WordPress localhost problem was resolved following my post to the Firefox forum. You can access my post and the responses at:


    I was working through some suggestions put forward by helpful forum contributors to fix the problem when, about five hours ago, we had a sudden blackout. This is a very unusual occurrence here in Brisbane, a major urban centre. At the time, I was in Firefox Safe Mode checking whether the problem was caused by a faulty add-on or plug-in, as suggested by one of the contributors on the Firefox forum. When the power eventually came on again after a few hours, I was worried that the sudden close down of Firefox in Safe Mode may have caused some additional problems. I needn't have worried.

    On re-opening Firefox, I began doing some tests as suggested by another of the forum contributors when I discovered that everything was working perfectly! My localhost problem seemed to have miraculously fixed itself. Don't ask me how, because I have no logical explanation. The Firefox Gods were clearly working for me. I am not however writing the problem off completely yet, as it may recur. But for now, it's back to normal. Whew!!



Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.