WordPress.org

Forums

Sub pages with spaces won't load (3 posts)

  1. joshteeters
    Member
    Posted 8 years ago #

    I'm running into a weird problem. The blog in question is Language Geek, here:

    http://languagegeek.system13.org/

    I'm wanting to have a page hierarchy, which basically runs like this:

    Resources -> Vocabulary Lists -> (Whatever, i.e. German, May 2007)

    This would ultimately give the May vocabulary list a URL of:

    http://languagegeek.system13.org/resources/vocabulary/german-may-2007/

    Shouldn't be a problem, right? Well, about 95% of the time I try to go to the page, it dies, giving me an error:

    Fatal error: Maximum execution time of 30 seconds exceeded in .../public_html/languagegeek/wp-includes/post.php on line 992

    It gets weirder, though. If I make the subpage without spaces in the title - say, Resources -> Vocabulary -> German, the page works just fine... sometimes. Sometimes I get an error. But not nearly as often as if the title has spaces in it!

    It seems that once I hit the third page down in the hierarchy, i.e.:

    1 -Resources
    2 -Vocabulary
    3 -X

    ... things start getting iffy as to whether or not they're going to work. More often than not, the powers that be decide that it's NOT going to work.

    As an aside, my blog at the main domain (system13.org) doesn't experience this at ALL. As a test, I made a hierarchy of pages seven layers deep, all with a ton of spaces in the titles. It loaded instantly.

    Anyone have any ideas? I've contacted my host, A Small Orange, and they dug around forever trying to figure it out. Ultimately, they had no luck.

    (BTW, if this post ends up appearing many times, I apologize. WordPress.org has eaten the post 3 times thus far, so I'm giving it one more go.)

  2. joshteeters
    Member
    Posted 8 years ago #

    Okay, update. After yet more tinkering, I've narrowed the issue down a bit more. Spaces in the page title aren't exactly the issue; the issue is instead, apparently, the number of dashes in the post slug for the page. Ex.:

    Here's the page hierarchy I'm after:

    - Resources
    -- Vocabulary lists
    --- German, May 2007

    If I make all of the post slugs for these pages one word each, or words with no spaces at all, the pages load fine. If I make the page 'Vocabulary lists' have a post slug of vocabulary-lists, it won't load. If I change it to vocabulary_lists, it loads. A similar thing happens with the 'German, May 2007' page. If the post slug is german-may-2007, it won't load. If the post slug, however, is german_may-2007 OR german-may_2007, the page loads just fine.

    This sounds like it could be related to the rewrite rules, which is what my host initially suggested, but I have no idea WHAT might be wrong with the rules. Here they are, if anyone wants to have a stab:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
  3. joshteeters
    Member
    Posted 8 years ago #

    Anyone? Someone's got to have at least an idea. :|

Topic Closed

This topic has been closed to new replies.

About this Topic