• Resolved earl

    (@earl)


    I have my own Ubuntu linux box and I’m not sure where to put my wordpress folder. Is it ok to put it in /www/var/ or do I put it in /usr/bin/ ?

    Frankly I’m still confused with linux & apache in general as where in the heck you are supposed to put websites in general. Any help in this area would be great (white papers, etc)

Viewing 5 replies - 1 through 5 (of 5 total)
  • quick answer:

    throw it into the /www/var/ (did you mean /var/www ?) directory.

    How to set up your server – that’s beyond the scope of the WP forum. I assume there are places on the net that might be able to guide you to accomplish this task.

    Thread Starter earl

    (@earl)

    I did put it in the /var/www/ folder. It seems to be working as long as I access it from the localhost linux box, but when I access it from another machine by typing in the http:<IP address>/wordpress/wp-login.php, it allows me to login, but everything on the pages look messed up, as in there is no formatting, etc. It’s as if wordpress doesn’t know where the themes are if I’m loggin in from a remote machine. If I login on the localhost, everything works fine. Also, if I try to click on a link from a remote machine after I’ve logged in, such as “Manage” or “write”, I get a “page cannot be found” error because instead of sending me to http://<ipaddress>/wordpress/blahblah.php it sends me to http://localhost/wordpress/blahblah.php (so in other words, it’s as if “localhost” is sort of hard coded even if you are connecting remotely. Any ideas here?

    “Localhost” is in your settings in the database: Options > General the two URIs for the location of the blog.

    It works on your machine because localhost is there, so it can find the stylesheet. When seeing from anywhere else – every (smart) computer “thinks” localhost is itself, therefore looking for the stylesheet locally 🙂
    Change the URI options to <ipaddress>

    Thread Starter earl

    (@earl)

    A Million THANK YOU’s!!!!! That fixed it. awesome.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Trying to install wordpress in linux/ubuntu’ is closed to new replies.