Skip to:
Content
Pages
Categories
Search
Top
Bottom

WP in Subdirectory, BP 1.3svn, home link incorrect


  • LPH2005
    Participant

    @lph2005

    Summary of issue: Home link is incorrect. All other links work correctly.

    I’m slowly making progress with BP. Earlier I was not able to get BP 1.2.3 installed but was fortunate to get svn installed.

    Everything appears to work except the link to the “Home” is incorrect.

    Go to http://www.layneheiny.com and the blog postings show.

    Click on “Home” and it goes to http://www.layneheiny.com/blog

    Since WP is actually installed in /blog then maybe something isn’t correct elsewhere.

    I’ve tried to read the other postings but most are being specific to their hosting environment.

    This is the .htaccess in the root (no htaccess in subdirectory /blog)

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteRule ^index\.php$ – [L]

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    Thank you for any suggestions.

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

  • Steve
    Participant

    @health2health

    Is there a way to change the link in that the home menu tab points to?


    dainismichel
    Participant

    @dainismichel

    i tried this and it breaks the install http://www.tamba2.org.uk/wordpress/site-url/


    t.sjogren
    Participant

    @tsjogren

    Hi
    If i install WP in a subdir then the homelink is incorrect. This is because the call for the homelink is set by the tempatetag site_url() and not bloginfo(url). So to correct this edit line 48 in header.php in bp_default theme like this.
    Before:
    After:

    WARNING. This changes will be lost if you upgrade buddypress. A bettter way to do it would be to create a child theme and copy header.php to the child theme. Or even better create a function in functions.php that fixes this.

    Nav code cut-out frpn header.php

    Question: Is this a known bug?


    t.sjogren
    Participant

    @tsjogren

    Sorry. The code was missing
    Before; “
    After: “


    Sage
    Participant

    @testingbuddy777

    @t.sjogren

    You saved the day for me! Thank you !!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP in Subdirectory, BP 1.3svn, home link incorrect’ is closed to new replies.
Skip to toolbar