[wp-hackers] Removing the canonical URL redirection for /page/1 in WP 3.0

David Morris dvmorris at gmail.com
Tue Sep 7 22:33:14 UTC 2010


Is there any way to have WordPress 3.0 not redirect /page/1/ URLs to the
root URL of the blog?

2.9.1 seems to leave that URL alone, and now 3.0 does a 301 redirect. I
would like to try and keep this URL intact. I started looking into the code
in wp-includes/canonical.php around line 190 just to get a feel for what's
going on, but I haven't gotten too far into that code.

Let me know if you have any ideas. Thanks for your help,

Dave Morris


More information about the wp-hackers mailing list