Skip to:
Content
Pages
Categories
Search
Top
Bottom

Please help me: big problem since upgrade


  • Sgrunt
    Participant

    @sgrunt

    Hi all, this question it is (maybe) not buddypress related, but really i hope someone could help me becouse it’s really really important.

    Yesterday i updated my website ( http://wikiroma.it )with MU 2.7 and the latest trunk of BuddyPress, in order to try the Facebook Connect. But since the upgrade i have a big problem:

    my website’s homepage is the home.php in the root, and then i have link to index.php ( http://wikiroma.it/index.php )to go to the community area (buddypress).

    Since yesterday, that index.php redirects to the home.php and i’ve no way to enter the buddypress homepage. I don’t know if this is a MU issue or a BuddyPress issue: i’m using the same theme of before, the only thing new is the facebook plugin.

    Maybe the new buddypress requires that i upgrade the home-theme too with the newest trunk?

    I’ve not modified the ht.access that is:

    RewriteEngine On

    RewriteBase /

    #ordine delle pagine

    DirectoryIndex home.php index.php

    #uploaded files

    RewriteRule ^(.*/)?files/$ index.php [L]

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin

    RewriteCond %{REQUEST_URI} ^.*/wp-admin$

    RewriteRule ^(.+)$ /$1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule . – [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]

    RewriteRule . index.php [L]

    <IfModule mod_security.c>

    <Files async-upload.php>

    </Files>

    </IfModule

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

  • Andy Peatling
    Keymaster

    @apeatling

    home.php will always override index.php in any theme. I think it has always worked like that?


    Sgrunt
    Participant

    @sgrunt

    hi Andy: the home.php (my homepage that is not part of MU) and the index.php (that comes with MU) are in the root, not in the theme.

    It has always worked ’til yesterday: the url http://wikiroma.it goes to http://wikiroma.it/home.php

    Only when clicking http://wikiroma.it/index.php users were directed to MU home theme (buddypress).

    But now the index.php reload the home.php and so people can’t enter the MU homepag


    Paul Wong-Gibbs
    Keymaster

    @djpaul

    More likely to be a WPMU bug/issue I think


    Sgrunt
    Participant

    @sgrunt

    yes, i’ve created an empty index.php and it works, it does not redirects to home.

    i’ve reupload the mu 2.7 index.php and it…redirects again to home..grrrrrrrr


    Burt Adsit
    Participant

    @burtadsit

    What does your link to the ‘community’ bp look like? Just: http://wikiroma.it? If that’s the case then the .htaccess rule you specified:

    DirectoryIndex home.php index.php

    Takes over and loads home.php like you told it to. If index.php is not specified explicitly with http://wikiroma.it/index.php then you’ll get home.php.


    Sgrunt
    Participant

    @sgrunt

    the homepage of the site is http://wikiroma.it (the home.php) file, and the buddypress MU community is http://wikiroma.it/index.php

    it worked fine until using MU 2.65, the 2 files are both in the root and i’ve setted htaccess giving priority to home.php and then to index.php.

    But now http://wikiroma.it/index.php reloads the home.php file.

    If i change the index.php (the index of MU) with an empty index.php it works fine and does not redirects to home.php, so i think the htaccess works ok.


    Burt Adsit
    Participant

    @burtadsit

    This the same operating system version? Same host? Upgrade apache?

    It worked for 2.6.5. Well, it doesn’t work that way now. For some unknown reason.

    You have apache AND wpmu handling home.php and index.php in some fashion that doesn’t work any more. Both of them have sequences and overrides and whatever. You have multiple index files and multiple applications having possible control over them in some fashion that can’t be debugged.

    Abandon what doesn’t work and figure out a different way of doing it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Please help me: big problem since upgrade’ is closed to new replies.
Skip to toolbar