Support » Fixing WordPress » or /post/category produces partial HTML

  • I have an issue where a url ending /post or even /post/123 and in my case /post/category just produces a partial page of html as text.

    Permalink custom structure is: /post/%post_id%/%postname%

    Visiting the link produces the following:

    title=’1 topic’ rel=”tag” style=’font-size: 8pt;’>spiders
    <p> </div></p>
    <p><hr />
    <div id=”footer” role=”contentinfo”>
    <!– If you’d like to support WordPress, having the “powered by” link somewhere on your blog is the best way; it’s our only promotion or advertising. –>
    The Shrewd Gardener is proudly powered by

    Entries (RSS)
    and Comments (RSS).
    <!– 19 queries. 0.202 seconds. –>
    <p><!– Gorgeous design by Michael Heilemann – –></p>
    <p> </body>

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi


    Forum Moderator

    Site url? where 123 does not exist as a post

    all produce the quoted code above. Partial HTML.

    Im new to wordpress, but not PHP, and don’t know where to start debugging it.



    Forum Moderator

    I meant – can you post a link to your site, please?

    It’s in the post title.




    Forum Moderator

    My best guess is that there’s a problem with your 404/Post not found code. Do you have a custom 404.php file? Have you edited the single.php or index.php files?

    I have succeeded in doing some debugging on this but haven’t got all the way…

    I’m using Dynamic Sidebar and the 404 page does not render at all, just a blank screen, no HTML.

    With the Tag Widget (the default WP one) the issue described above occurs and something in the tag widget is causing the output of HTML as text just before it prints its last entry.

    So, I’ve got as far as a blank screen but no further!

    Does WP have a proper bug reporting system instead of the forum – which is great by the way!!



    Forum Moderator

    There’s Trac for bug reporting but I’m not convinced that this is a bug yet. There are other factors that could be creating this problem. For example, have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-related problems.

    resetting the plugins folder by FTP or phpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.



    None of the above resolved the issue which is definitely related to the dynamic sidebar code. The Tags widget breaks the Error page.

    I haven’t yet tracked down why the bug is occurring as I’m still finding my way round the WordPress architecture. When I do I’ll submit it on TRAC.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘ or /post/category produces partial HTML’ is closed to new replies.