Viewing 10 replies - 1 through 10 (of 10 total)
  • Seems as if your style.css file is not loading.

    Try and rename the .htaccess file and see if it works as .htaccess file is only used when you set your permalinks.

    Can I ask you:
    did you upload your website from a local server on your computer?

    Thread Starter KenazChan

    (@kenazchan)

    Hi govpatel, I believe I need the .htaccess file cause I am using custom permalinks.

    Hi ladober, yeap I uploaded the website from local server. Anyway “View Page Source” shows that it is pointing to a correct style.css file as below, just that it couldn’t load it.
    <link rel='stylesheet' id='twentythirteen-style-css' href='https://192.163.194.212/~myhero88/wp-content/themes/twentythirteen/style.css?ver=2013-07-18' type='text/css' media='all' />

    Since it is working locally, could that be some issue with .htaccess, apache setting or others?

    Hi govpatel, I believe I need the .htaccess file cause I am using custom permalinks.

    AS is you are you are using a temp url that your host provided so using permalink does make any difference as You will have to change that once you use your domain name.

    What urls do you have in Settings>>>General?

    Thread Starter KenazChan

    (@kenazchan)

    Hi govpatel, both WordPress address and Site address in Settings>>General are pointing to https://192.163.194.212/~myhero88

    Yeah, I plan to use my domain name once I am able to setup the site correctly using this temp url. Although it is a temp url, I guess it should be working too.

    did you try and rename .htaccess file as I suggested and just use default settings on permalinks.

    Ask your host see if they can help

    Thread Starter KenazChan

    (@kenazchan)

    Hi govpatel, I’ve set the permalink back to default (Verified that by clicking post link show default format https://192.163.194.212/~myhero88/?p=123). I’ve also rename the .htaccess file to something else. Anyway it still not able to access style.css

    KenazChan

    In your login.php after:

    require( dirname(__FILE__) . ‘/wp-load.php’ );

    insert these two lines:

    update_option(‘siteurl’, ‘https://your.domain.name&#8217; );
    update_option(‘home’, ‘https://your.domain.name&#8217; );

    don’t forget to change your.domain to your domain name

    Read more here:

    https://codex.www.ads-software.com/Moving_WordPress

    hope that helps

    on more thing I forget to mention after you upload the file login.php you need to visit: yourdomain.com/login.php

    and the job must be done

    In your login.php after:

    require( dirname(__FILE__) . ‘/wp-load.php’ );

    insert these two lines:

    update_option(‘siteurl’, ‘https://your.domain.name&#8217; );
    update_option(‘home’, ‘https://your.domain.name&#8217; );

    KenazChan is using temp domain name and looks like there is a problem on host server the only way to rectify is contact host for help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WordPress cannot load files, including style.css, images and others’ is closed to new replies.