• I run my own webserver at home. My Blog – which of course displays correctly in Firefox when editing it on the webserver, shows totally without the correct formatting when viewed from an external address. The lovely blue banner on top does not show, either does the categories to the right and so on . It’s just a like a plain old simple html web. Why is this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter jackols

    (@jackols)

    OK. Here’s some more info for you gurus – viewing the source code when showing the page from an external viewer reveals this: <link rel=”stylesheet” href=”http://192.168.188.xxx:port/wordpress/wp-content/themes/default/style.css&#8221; …>

    Meaning there are links to my internal IP (xxx:port my insertion), and not to the domain name!! How and where do I change this??

    Thread Starter jackols

    (@jackols)

    Well, I found out by myself.

    I’m having the same problem. i just did a clean install of 1.5.1.2 and neither Default or Classic is using their CSS files. All i get are plain HTML pages without formatting.

    This happened to me before with 1.5.1.1 when i set my blogname different from the wordpress install location— making them the same solved the problem.

    Just some more information. My webserver is running Apache 1.3.33 and i’ve tried installing it both in the root of mysubdomain.mywebsite.com as well as a blog subfolder off my public_html folder: http://www.mywebsite.com/blog . In both cases, setting the blog location and the wordress install location to the same values under Options does not fix the problem as it did on my previous web server.

    Why would it not be processing the CSS files? My blog has no comments and my original blog is still running on the old server so i deleted the database (instead of trying to import it)) and recreated a new database that’s empty. WordPress is hooked up to the databse just fine. I can add users and make posts but everything is displayed in unformatted text.

    Please help me.

    Exactly the same problem of no CSS formatting occurs with Firefox and with IE 6. The lack of formatting is for both the admin screen (Dashboard) as well as the blog display.

    Both Admin and Blog pages validate as good XHTML and it source code for the main page.

    The problem occurs for both Default and Classic themes. Here is a listing of the source code for the page and you can see on line 11 that it’s referencing the stylesheet. This is how the source code for http://maccs2support.chaninconsulting.com displays in the XHTM validator. I’ve tried putting wordpress in a subfolder (chaninconsulting.com/blog) and it give me exactly the same problem.

    The wordpress files for 1.5.1.2 are installed in the root of a subdomain folder: http:// maccs2support.chaninconsulting.com, as follows:

    1: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    2: <html xmlns=”http://www.w3.org/1999/xhtml”&gt;
    3:
    4: <head profile=”http://gmpg.org/xfn/11″&gt;
    5: <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
    6:
    7: <title>MACCS2SUPPORT » Uncategorized</title>
    8:
    9: <meta name=”generator” content=”WordPress 1.5.1.2″ /> <!– leave this for stats please –>
    10:
    11: <style type=”text/css” media=”screen”>
    12: @import url( http://maccs2support.chaninconsulting.com/wp-content/themes/classic/style.css );
    13: </style>

    I get a 404 not found error when trying to access your css file. Are you sure it’s in the right place?

    ok. found the problem when i got that 404 error myself clicking on the CSS link in my post. it’s in the right place but there’s no world read permission

    uploading the wordpress files from my PC to the new server set the unix permissions to 600. the CHMOD should be 644 and the folders should be 711 (i think). I don’t know why F-Secure usually usually screws up the file permissions on PC-to-unix transfers and makes a lot of them private. Most of them were world readable or else i could not see Admin Panel or the blog on the server with a remote browser. Anyway … Thanks for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Page displays wrongly’ is closed to new replies.