• I sifted through the Codex and the previous topics regarding permalinks, but I couldn’t find anyone who shares the problem I’m having.

    I applied a new permalink format today (/archive/%year%/%postname%/), but after doing so, all of my permalink pages contained only this code:

    <html>
    <body>
    </body>
    </html>

    When I tried to reset the permalink to its original thing, the pages were/are still blank.

    Any ideas about what’s going on?

    Server details:

    Linux Kernel: 2.4.28
    Apache Version: 1.3.33

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator James Huff

    (@macmanx)

    Try disabling all plugins. If that doesn’t help, can you safely revert back to your old permalinks?

    I can pull up individual posts through the wp.php file:

    https://www.douglemoine.com/diary/wp.php?p=4

    It appears to be something in the theme template(s). Try (temporarily) switching to another theme.

    Thread Starter douglemoine

    (@douglemoine)

    I tried the theme switch, and the “classic” theme worked. Nice idea. Unfortunately, I then tried to switch back to my custom theme, and it still didn’t work.

    So my first question is: What’s the deal? The themes were working before I tried the fancy permalinks. Were they corrupted? If so, how?

    Anyway, solution-wise, I assume that I should create a new theme, and import all of my styles and pages into it?

    Let me know if anyone has any insight or better ideas.

    Thread Starter douglemoine

    (@douglemoine)

    UPDATE: The problem seems to be with the Post Template (single.php) … I don’t see anything weird in the code, but I’d be happy to post it here if someone thinks it’s necessary.

    Sure, post it on the following site https://pastebin.com

    —-signature—
    Support my campaign
    https://www.ads-software.com/support/topic/22918

    Thread Starter douglemoine

    (@douglemoine)

    Thanks, alphaoide.

    I just posted the code there … Let me know if you have any ideas.

    Thread Starter douglemoine

    (@douglemoine)

    In regard to your suggestions, Macmanx:

    As far as I can tell, I don’t have any plug-ins activated, and I could not revert back to the old permalink style.

    Thanks for your feedback, though.

    Dude, you need to give us the link to where you posted the code.

    Thread Starter douglemoine

    (@douglemoine)

    Thread Starter douglemoine

    (@douglemoine)

    Okay, so I pieced my single.php back together, bit by bit, and it seems to work now, though it’s really fragile. Basically, the page doesn’t show up unless this link is in it:

    <?php } edit_post_link(‘Edit’,”,”); ?>

    Which seems weird to me because I removed that thing ages ago, and the whole thing seemed to work until I changed the permalink format. Disappointing.

    I don’t know if anyone’s willing to slog through this, but here’s the working code:

    https://pastebin.com/296813

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Another permalink problem: blank pages, even when I reset.’ is closed to new replies.