Bug #3031

Link to reply to blog post is going to Commons wiki

Added by Maura Smale over 5 years ago. Updated over 5 years ago.

Priority name:
Category name:
WordPress (misc)
Target version:
Start date:
Due date:
% Done:


Estimated time:
1.00 h


Hi everyone, here's a weird bug: one of my and Michael's students wrote a post on our course blog that she titled "wiki!", and when I click the "Leave a reply" link on the post to comment on it, the link redirects from here:

to here:

Ditto with trying to go to her post directly, this link also redirects:

Here's the front page of the blog, scroll to her post "wiki!" one down from the top.

Thanks for taking a look!


#1 Updated by Boone Gorges over 5 years ago

  • Category name set to WordPress (misc)
  • Status changed from New to Assigned
  • Assignee set to Boone Gorges
  • Target version set to 1.5.18
  • Estimated time set to 1.00 h

Oh lordy. The short-term fix is to rename the post so that it doesn't have the slug 'wiki'. I'll look to see if I can come up with a broader fix for the conflict issue.

#2 Updated by Maura Smale over 5 years ago

Thanks Boone! I'll ask our student to rename in the short term.

#3 Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.5.18 to 1.5.19

Hi Maura - I'm afraid I didn't get a chance to look at this for our current release - I'll try to get it for the next one.

#4 Updated by Maura Smale over 5 years ago

No worries, thanks Boone!

#5 Updated by Boone Gorges over 5 years ago

  • Status changed from Assigned to Resolved

There's no general way that I can prevent pages with the address '/wiki/' from going to the Commons wiki. It's a byproduct of the fact that the Commons has an actual file at /wiki/index.php; Apache will always serve it instead of falling back on WordPress's rewrite rules.

As a workaround, I've put a block in place so that it's impossible to create a page that will have the address /wiki/. You can still create blog posts with the slug 'wiki', but that slug can't come immediately after the domain (eg This should be a good enough solution going forward.

#6 Updated by Matt Gold over 5 years ago

Sounds good -- thanks, Boone.

#7 Updated by Maura Smale over 5 years ago

Thanks Boone, sounds good to me too.

Also available in: Atom PDF