Support » Fixing WordPress » after upgrade, cannot edit website

  • hi, i have successfully upgraded from 1.2.1 to 1.5.2. i’m trying to add google’s adsense to my blog but no matter how i change the index.php, i cannot get the adsense to work. actually i think the site keeps loading the same index.php, as when i viewed source the google’s adsense codes wasn’t there at all.

    i tried changing the index.php from my theme’s folder also, same thing happened. so which index.php file should i edit to get the changes going?

Viewing 5 replies - 1 through 5 (of 5 total)
  • It’s the one from Presentation > Theme Editor > main template.

    By ftp, it’s in
    http://www.example.com/wp-content/themes/theme-name/index.php

    something funny happened… i got 4 themes and i’ve edit all 4 themes’s index.php inside the themes folder and it stills load the same old page…

    then i went to presentation/theme editor i can see the changes i’ve made! the new codes are there. but when i load it, it shows the same old page again, when i view source, it aint the same index.php.

    i’ve used both firefox and IE to view the page, so it has nothing to do with my cache…

    anyone knows how to go about solving this problem?

    Which theme should we be seeing ?

    Found it I think:
    <link rel="stylesheet" href="http://www.alexlab.com/wp/wp-layout.css"

    That should be:
    <link rel="stylesheet" href=" http://www.alexlab.com/wp-content/themes/theme-name/style.css"

    In your header, take this away:
    @import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
    Replace it with this:
    @import url( <?php bloginfo('stylesheet_url'); ?> );

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘after upgrade, cannot edit website’ is closed to new replies.