WordPress.org

Support

Support » Multisite » Root Site doesn't show Pretty Permalinks, but subdomains do

Root Site doesn't show Pretty Permalinks, but subdomains do

  • Todd

    @toddneufeld

    Hi all-

    I’ve been happily running a multisite installation since just before 3.0, and it’s working nicely except that my root site ignores pretty permalinks. My subdomains all have it working nicely.

    Until now it was just a minor annoyance, but I would really like to use permalinks on my main site as well.

    Does anyone know how I should troubleshoot this?

    -Todd

    p.s. toddneufeld.com is the root site, and permalinks are NOT currently enabled because they don’t work

Viewing 15 replies - 1 through 15 (of 21 total)
  • Todd

    @toddneufeld

    I enabled pretty permalinks, in case anyone wants to check.

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    Wow they all redirect to your main page…

    What’s in your .htaccess?

    Todd

    @toddneufeld

    This is all of it:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    Well that’s correct. Wow.

    I’d start with switching themes and turning off any plugins that are only on the main site.

    Todd

    @toddneufeld

    I now know that I’m not crazy. This really is weird.

    And done. I activated twenty-eleven, and disabled any plugins that only run on the root site. There are a bunch of site-wide ones, like gravity forms, which are still active.

    All of my subdomains have perfectly pretty permalinks.

    For some reason, http://toddneufeld.com does not.

    What else can I do to trouble-shoot this?

    Todd

    @toddneufeld

    I tried using the domain mapping plugin, but it won’t let me map the root site to itself. Any other ideas?

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    Yeah, you can’t domain map the main site.

    Did pretty permalinks work before you turned on Multisite?

    Todd

    @toddneufeld

    Yes, they worked before I turned on Multisite.

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    What are the sitewide plugins? And do you have any mu-plugins?

    Todd

    @toddneufeld

    I have a bunch of network plugins, but note that most of these were installed AFTER permalinks didn’t work:
    – Backupbuddy
    – Gravity Forms (and some of the plugins that extend it, like Gravity Forms CSS Ready Class Selector)
    – Easy Theme and Plugin Upgrades (this should be part of WP already)
    – Google XML Sitemaps
    – Google Analytics
    – Hide Welcome Panel for Multisite
    – Multisite Dashboard Switcher
    – Nav Menu Roles (love this!)
    – Network Plugin Auditor (ditto)
    – Redirection
    – Widget Logic
    – WordPress MU Domain Mapping

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    note that most of these were installed AFTER permalinks didn’t work:

    Yeah… that’s … Um. Bad 😀 It’s hella hard to debug now.

    Are there any enlightening errors in your error log?

    Todd

    @toddneufeld

    I’m back online!

    I pulled up my error log, and it’s really big. What sorts of things should I look for?

    At the top are a slew of errors from events-calendar-pro (which I’ll move away from now) and random MySQL and PHP errors.

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    Enable permalinks, click on one, see what errors pop up.

    After some trial and error I finally got an error log working. I used the instructions in the codex:
    http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Log

    I have MANY errors like this one:
    PHP Notice: Use of undefined constant WIDGETS_RELOADED_DIR – assumed ‘WIDGETS_RELOADED_DIR’ in /home/todd/public_html/wp-content/plugins/widgets-reloaded/widgets-reloaded.php on line 39

    This error seems to show up on every second or third line:
    [10-Dec-2012 21:41:31 UTC] PHP Notice: Undefined property: stdClass::$site_name in /home/todd/public_html/wp-login.php on line 76

    What should I be looking for?

    Turn off that plugin (widgets-reloaded)

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Root Site doesn't show Pretty Permalinks, but subdomains do’ is closed to new replies.
Skip to toolbar