[resolved] WordPress Forwards to Localhost (3 posts)

  1. r3in
    Posted 7 years ago #

    Well, I have an interesting Problem. I am not sure if it should go here, or into Install, but I think here is more appropriate.

    I have installed wordpress, Hell, It looks great, I can see it, update the templates, and do, basically whatever needs to be done. So far so good, right?

    Not quite. I was about to test the server, to make sure everything works, and someone from IRC asked me, 'Why does it give me a 'connecting to error' then timeout'? at first, I initially thought that my router was to blame. So, I removed it, and hooked up a hub/relay.

    Then, When he tried again, He noted that it was redirecting him to (localhost) and obviously failing. I thought, that Apache or PHP was to blame, so I looked through the httpd.conf, saw nothing unusual, tried making a new directory for it (it worked for Phpmyadmin, so mabye it would work with this) It didn't.

    In fact, all that I was able to discern was that php worked, and strangely enough, I noticed immediately afterwards, that I could access the root directory, without a problem. More so, I could access the directory, as long as the mysql database was not selected, or it could not connect.

    So, I know the problem is mysql based, but other than that, I am not sure where to look, or to even begin looking. any suggestions, or advice would be greatly appreciated.

  2. moshu
    Posted 7 years ago #

    Are you hosting WP on your own box?
    It sounds like a coomon mistake that self-appointed web admins make... What are the two URL values in your admin > Settings > General?

  3. r3in
    Posted 7 years ago #

    Yep, that was exactly the problem. Thanks for pointing that out... I guess RTFM applies here.

Topic Closed

This topic has been closed to new replies.

About this Topic