• Resolved sassafrascal

    (@sassafrascal)


    Hello, I have been scouring the forums trying to correct an issue I have with a Multisite installation with no success yet.

    Here is my site… https://www.gloconj.com

    I have installed WordPress 3.4.2 & enabled multisite with subfolders.

    Created posts (default permalinks)
    Installed Buddyress
    And created Forums

    The problem is that all three won’t work together…
    My posts only work with the default permalink structure.
    Buddypress requires custom permalink structures.

    To fix this I used custom permalinks and a plugin called “advanced permalinks” to correct my posts so that they work with custom permalinks.

    Then I activated the forums… They did not work until I deactivate the “advanced permalinks” plugin, causing the posts to no longer work.

    I have tried deactivating all plugins at the request of some searches I have done and it still did not work.

    Is there a way to get custom permalinks to work with my posts? They are the only thing broken at this point.

    Static pages work fine.
    Subsites work fine.

    here is my .htaccess code & Wp-config.php. Any help would be greatly appreciated!

    Thanks,
    Sharon

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    $base = '/';
    define('DOMAIN_CURRENT_SITE', 'www.gloconj.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
Viewing 15 replies - 1 through 15 (of 22 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Which forums are you using? bbPress 1.x or 2.x?

    Also have you asked about this on BuddyPress.org?

    Thread Starter sassafrascal

    (@sassafrascal)

    Buddypress 1.6.1
    bbpress 2.2.2

    I did not check with Buddypress because even when buddypress is removed the custom permalinks in wordress do not work, only default. So I don’t believe it is an issue within buddypress. That fact that buddypress forces you to use custom permalinks just brought the issue to light.

    It seems everything works perfectly except anything associated with the “blog”slug (Archives, Categories, & Posts).

    @mercime

    (@mercime)

    You need to enable mod rewrite for pretty permalinks. Are you on Windows server?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I did not check with Buddypress because even when buddypress is removed the custom permalinks in wordress do not work, only default.

    You were unclear on that one. If Pretty Permalinks don’t work, nothing’s gonna work right.

    Did they work before you turned on Multisite?

    Thread Starter sassafrascal

    (@sassafrascal)

    @mercime – I am on a Linux Server.

    Mika, I was unclear about that I apologize, I was trying to get in as much detail about my install as I could so you’d have all the facts about the project. It just confused the matter.

    Yes pretty permalinks worked on a single install that I had in a subfolder. I then decided to go with a multisite in the root – I never tested pretty permalinks on the root. I assumed they would work since they did in the subfolder install.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yes pretty permalinks worked on a single install that I had in a subfolder. I then decided to go with a multisite in the root – I never tested pretty permalinks on the root.

    Aha! Did you move WordPress?

    Thread Starter sassafrascal

    (@sassafrascal)

    Nah – I did a fresh install.

    I still have that subfolder install up and running though until I can transfer all the work I did on that site to the multisite… That would not mess with the permalinks would it?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It shouldn’t.

    Okay so you have domain.com/ (Multisite) and domain.com/wordpress (single site)

    Is that your full .htaccess?

    Thread Starter sassafrascal

    (@sassafrascal)

    Okay so you have domain.com/ (Multisite) and domain.com/wordpress (single site)

    Yes that is how it is set up.

    I have two .htaccess files – one for the single install in the subfolder and another in the root for the multisite install (which has been altered according to the network settings).

    I found the blurb below under the “help” tab on my network setup page – does this mean blogs are not an option with multisites?

    The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with “/blog/” from the main site. This disabling will be addressed in a future version.

    The thing is I am not trying to set up blogs in subfolders – I am trying to use them on the main site as my content. The above statement has me worried that it’s not possible.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Right, was that the full .htaccess that was in root? ??

    The thing is I am not trying to set up blogs in subfolders – I am trying to use them on the main site as my content.

    Multisite comes in two flavors. Subdomain and subfolder. The .htaccess file you posited above is for subfolder. So … I think I’m missing something.

    What do you want your subsites to look like?

    sub.domain.com or domain.com/sub ?

    Thread Starter sassafrascal

    (@sassafrascal)

    Yes, that was the full .htaccess.

    I choose Subfolders.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay, so when you said “I am not trying to set up blogs in subfolders” what you mean is “I’m using WordPress Multisite to make subfolder sites, but I’m not using them as blogs.”

    While inaccurate, most people use ‘site’ and ‘blog’ interchangeably. ?? And in your case, you’re using Subfolders. Ergo this warning is 100% correct:

    The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with “/blog/” from the main site. This disabling will be addressed in a future version.

    Now you can force this in your setup, but making ‘subdomain’ set to false in your defines. Did you?

    Honestly, without knowing if Permalinks were working before you set up Multisite in root, we can’t know if this is a server error or not.

    Thread Starter sassafrascal

    (@sassafrascal)

    It was already set to false when I copied the provided code. I apologize if I am being confusing in my statements. This is my first time using wordpress – I am attempting to turn it into a CMS.

    I am creating a local county website – the main folder is reserved for buddypress activity and my posts that will fill the site with articles and content. The subsites are things like “local recipes”, “local news”, “local reviews” – They will be all different themes.

    If I can’t force blogs on the main site. I suppose I could create another subfolder site and funnel the posts and content to the main site through feeds. I just hate to do it that way – it seems like a band-aide.

    If I turn off multisite to see if the pretty permalinks work? Will I lose the bit of work I have done already?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s okay ?? I’m being very specific with what terms I use so you can learn (and so I can be sure we’re on the same page). You can’t magically know new stuff without being taught! ??

    It was already set to false when I copied the provided code.

    Okay, thats good! We know what we’re talking about now.

    Let’s step back. How deep into this are you? Is the site live and heavily trafficed? Will you lose a lot if you start over?

    Thread Starter sassafrascal

    (@sassafrascal)

    It is live, but it’s still in the testing phase so there’s not a lot of traffic.

    I am concerned about loosing the modifications I have made on some PHP & CSS files within the theme – but I can back up all those files and hopefully get that cleaned up again.

    I think it is worth it to start over if I can get this resolved.

    I really appreciate your taking the time to help me through this, thanks ??

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Multisite & Pretty permalinks’ is closed to new replies.