• I updated a really old WordPress site yesterday (no, I mean really old, and it was surprisingly easy which speaks a lot to the system design), and noticed a difference in trackback URLs (yeah, yeah, URI). THe old system used:

    http://www.dummy.tld/pathtowordpress/wp-trackback.php/29

    I vaguely remember a discussion somewhere here back in the mists of time about why the change, but searches have some up empty. If someone can point me in that general direction so I can have the information I need to explain it (and, depending on the reason for the change, add RewriteRules to compensate), I’d greatly appreciate it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • One of the threads I participated in:

    http://wordpress.org/support/topic/16240

    Basically the problem is/was that using a slash for the query is not properly handled on all servers when used to pass an argument to PHP.

    Thread Starter CharlieSummers

    (@charliesummers)

    Yes…I remember the “AcceptPathInfo On” now…thanks.

    So there’s no security issue involved…I’ll need to dig around to make sure I can jump to post by number instead of name; if so, I can write a RewriteRule to allow the old format (actually a shortened version of same) to map to the new (and unfortunately very, very, long) trackbacks.

    (Lord, was that only a year ago? Seems like much longer…)

    Thread Starter CharlieSummers

    (@charliesummers)

    Well, darn, that was easy:

    RewriteRule ^tb/([0-9]+) /index.php?p=$1&tb=1 [QSA,L]

    Thread Starter CharlieSummers

    (@charliesummers)

    …or at least used to be…

    I just discovered that RewriteRule no longer works. So, for example:

    http://blogs.oldradio.net/tb/589

    …fails with a 404, where:

    http://blogs.oldradio.net/index.php?p=589&tb=1

    …which that rule in the post above should (and used to) rewrite to works fine, and is then properly rewritten to:

    http://blogs.oldradio.net/archives/2006/04/06/studs-terkel-at-politics-and-prose/trackback/

    I have the feeling this has something to do with the upgrade to 2.0.4, since there is a second “IfModule mod_rewrite.c” block in the .htaccess file apparnely added by WordPress (I performed the upgrade a few weeks ago, but clearly didn’t pay enough attention to the .htaccess file), but I’m not certain. The blog seems to be working correctly otherwise, but I’d really like to fix this. Anyone with a clue into mod_rewrite as it applies to WordPress?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘New trackback format -> old’ is closed to new replies.