• I just installed on my webserver. did apt-get install wordpress, copied /usr/share/wordpress to /var/www/wordpress. set up wp-config.php, and installed. now when i go to /wordpress, it takes a while to load content, then just displays text without css. whats going on?

Viewing 5 replies - 1 through 5 (of 5 total)
  • how about a link?

    a guess would be one of the 2 url’s are wrong – one is pointing to root and one to /wordpress

    Thread Starter mortona

    (@mortona)

    its on my local box.. not online. what do you mean urls? I access the page by going to 192.168.1.103/wordpress. i appreciate the help, if you need more info (.htaccess, permissions) just let me know, i’m not sure where to look. I have already given my web directory chmod 777 to try and fix things, but is not helping.

    thanks.

    You were on the right track from the start. The thing you did not need to do, was copy the contents to the web root. Without doing that, the path to wordpress should have been http://localhost/wordpress ( or 192.168.1.103/wordpress. if you did a remote install ), due to symlinks installed during the .deb package installation.

    Installing wordpress from Debian repos’ can be a confusing experience. Once it’s done, you have to rely on the version of wordpress currently available in the repo for updating, which usually lags behind, and you are left with symlinks pointing you to the directory where apt actually installed WordPress. (“/usr/share/wordpress” )

    Let’s assume you are using Ubuntu as a server. I think the default apache2 document root is /var/www/ – let’s use that for this example.

    Installation/repair in a nutshell.

    1) Uninstall wordpress. “apt-get remove wordpress” then whatever cleanup command you prefer to use.

    2) confirm your apache2 install is serving docs from /var/www/ and is working.

    3) download the wordpress package from the download link located at the top of this page.

    4) place all of those documents in /var/www/ and run http://localhost in your browser. That should start the install.

    Or – leave everything in /usr/share/wordpress and access it using http://localhost/wordpress.

    I think…

    🙂

    Thread Starter mortona

    (@mortona)

    thanks clayton! I was digging around for my phpmyadmin folder to try and replicate some settings since thats working. then i realized i dont have a phpmyadmin directory in /var/www. simultaneously, i returned here and saw your post and knew you must be right. followed your instructions and everything works. thanks!

    Holy cow, it actually worked! Glad you got it going!

    🙂

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

The topic ‘just installed – not loading css’ is closed to new replies.