crowdfavorite / wp-capsule

The developer's code journal (built on WordPress)
https://crowdfavorite.com/capsule/
GNU General Public License v2.0
172 stars 27 forks source link

When enabled on WP installation in subdir of other WP installation, search goes to parent #42

Closed richjenks closed 10 years ago

richjenks commented 10 years ago

Original issue (https://github.com/crowdfavorite/wp-capsule/issues/40) was closed and I couldn't reopen. Comment below:

I suspected that might be a factor, but I haven't adjusted rewrite rules beyond WP standard.

The real question is whether you can replicate it or if it's just me :)

alexkingorg commented 10 years ago

You can open bugs related to WP core here:

https://core.trac.wordpress.org/

richjenks commented 10 years ago

I'm not being funny, but are you sure it's a bug related with WP core? You seem a lot more concerned with closing this ticket and brushing it under the rug than you are with actually finding a solution to the problem which is a bit disheartening for an open source project.

Did you attempt to replicate and do you know it's an issue with WP core? If not, I will test and let you know what I find. If it is an issue with WP Core (in that any installation in a subdir of another will send search to the "parent") then I'd rather know than pretend it's not a problem.

alexkingorg commented 10 years ago

I'm baffled by how you can blame the child install when the parent install is intercepting the HTTP request before it even gets to the child install.

This issue is closed.

richjenks commented 10 years ago

Because a .htaccess rule in a subdir will take precedence over one in a parent dir.

Regardless, I sort of fixed the issue by reverting the permalink structure to default so it's not rewriting the URL at all, so if this happens again, that's the quick fix.

Thanks for replying nevertheless!