• hi. i have wp running on apache 1.3 with php 4 on my w98 machine. i was using it fine for development and work strictly on localhost. i decided to try to open it to access to other machines on my intranet (i have a router in the house). now it still works fine on localhost machine but whenever i access index.php from another intranet machine i get the wp page but no style. the style sheets are still being invoked with http:/localhost/
    anyone have a clue how i can fix this? i have tried mapping ip addresses in apache http.conf but have not got a good combo. i also tried changing ‘siteurl’ in the options database but….

    • it did not work from the other machine
    • the options update failed after updating some of the stuff so that the localhost site did not work any longer. at all!

    i did get the db fixed with sqlyog and it is working locally. but i am afraid to try options and dont know what to try next. im comfortable with updating the db with sqlyog but not sure i understand where all the key fields are yet.
    any help would be much appreciated!
    the product is fun to use myself and seems to do a lot! still learning about some features tho!
    thanks
    bruce

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter just_bruce

    (@just_bruce)

    sorry about the weird formatting of the above!!
    can anyone help?
    thanks, bruce

    From the machine where WP is installed, go into the admin / options area. One of the config items is the site / blog address. Change those to the IP address. It should then be accessable anywhere on your local network.
    TG

    Thread Starter just_bruce

    (@just_bruce)

    I did as TechGnome suggested above! very helpful!!
    It solved one big problem but not the style sheet. It made all the links correct when the blog is accessed from another machine. but the style is still default html and not the wp-layout.css..i made the change to the variable wp-options.home right in the database with sqlyog so i did not need to worry about my problem with the options edit screen.
    do you think it would work to modify ‘siteurl’ in the wp-options table the same way? when i look at the code in wp-layout.css it seems to be fetching ‘siteurl’ with the statement
    <style type="text/css" media="screen">
    @import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
    </style>

    in order to load the css.
    what does anyone think?
    bruce

    Thread Starter just_bruce

    (@just_bruce)

    It worked to change siteurl in the database to the numeric IP address! style sheet and everything working smoothly.
    This one can be locked now from my standpoint.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp can’t find stylesheet from a different ip’ is closed to new replies.