Timeline for Accessible Subcategory URL's pages without using .php hack
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
|
|
May 15, 2016 at 9:00 | comment | added | Simon Hayter | Hey @Milo, oh right, can this be done just in the .htaccess or does it require a bit of both? I've looked at the post and I kinda understand it to some degree, that WordPress needs to be told what it is. | |
May 15, 2016 at 2:47 | comment | added | Milo |
Basically, you have a situation where multiple types of things match the same rewrite pattern. WordPress has to know if you're asking for a post or a category before it goes and queries for it. That's why the .php method works, it adds a unique element to the pattern that will only match posts. Have a look at this question which is a similar issue, you have to do a bit of work yourself to help WordPress know what you're asking for.
|
|
May 11, 2016 at 13:45 | history | asked | Simon Hayter | CC BY-SA 3.0 |