canonical.php - allow redirects for IIS7
Based on changeset 17493 and 17492 ( http://core.trac.wordpress.org/changeset/17493 ) users with IIS will not get automatic 301 redirection based on the canonical url. That stinks. Because it means that every time we upgrade WP we have to edit canonical.php again to 'fix' it. Basically, it means we cannot change the permalink structure without getting dinged in search engines for duplicating content.
Read http://core.trac.wordpress.org/ticket/16639 to understand WHY this change was made.
It's bad practice ANYWAY to change your permalink structure, and yeah, you'll get dinged. The best thing to do, I think, would be to make a change and then ask Google for a ReCrawl. But the alternative to this was not being able to use IIS for WP at all.
My blog is pretty old and was using /blog/index.php/%category%/%post%/. I just changed that to /blog/%category%/%post%/ was expecting the url to redirect automatically. I edited canonical.php to fix this, and I know eventually search engines will update their indexes. But until this is really fixed, disabling the function in IIS makes it impossible for those folks to change their permalink structure.
Versus making it impossible for IIS to use WP at all?
Lesser of two evils :)
RSS feed for this topic
You must log in to post.