Automattic / Automattic/jetpack
Search: Non-pretty permalinks in Search redirecting to homepage
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
Search
### Steps to Reproduce
1. Create New WordPress site
2. Set Permalinks to "Plain" (i.e. `?p=123`)
3. Add a few test posts / pages
4. Install and connect Jetpack
5. Add Jetpack Search plan
6. Run a test search
7. Links to pages with `?p=` strings will redirect to homepage
8. Switch to Pretty Permalinks
9. Run a test search
10. Links will redirect to proper pages
### A clear and concise description of what you expected to happen.
I expect that Jetpack Search would support non-pretty permalinks
### What actually happened
Non-pretty permalinks all redirect to homepage
### Other information
### With non-pretty permalinks

### With pretty permalinks

This behavior can also be triggered by switching to non-pretty permalinks from pretty permalinks
### Operating System
macOS
### OS Version
_No response_
### Browser
Firefox
### Browser Version(s)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.