#12897 closed defect (bug) (duplicate)
page is treated as category when premalink are set to %category%
| Reported by: | liorsion | Owned by: | ryan |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Permalinks | Version: | 2.9.2 |
| Severity: | major | Keywords: | needs-testing |
| Cc: | Focuses: |
Description
If I set my premalinks to %category%/%whatever%/ and I'm not using english (tested in Hebrew), all pages (that are also in Hebrew) are getting 404 not found since they are treated as categories and not pages - effectively rendering the %category% permalink impossible to use.
The bug lies in classes.php line 172:
$req_uri = str_replace($pathinfo, , rawurldecode($req_uri));
the rawurldecode should be removed.
I didn't want to actively fix it to avoid issues I might not be aware of.. please pay attention before removing this.
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Punting based on no patch and no testing done.