[wp-hackers] page not found when clicking on categories

Ian Douglas ian at powerfoundation.org
Wed Aug 17 16:00:33 UTC 2011


It was a bad setting in the theme, I think. So far as i know there is nothing wrong with WP 3.2.1 regarding categories. Deleting this line allows the custom categories to be found without need for the plugin I mentioned.



On 17 Aug 2011, at 17:52, Otto wrote:

> If you're doing that on every page load, then it will significantly
> slow down your site.
> 
> Just flush the rules one time by visiting the Settings->Permalink page instead.
> 
> -Otto
> 
> 
> 
> On Wed, Aug 17, 2011 at 6:40 AM, Ian Douglas <ian at powerfoundation.org> wrote:
>> Figured it out. In my case, had to delete
>> 
>> flush_rewrite_rules();
>> 
>> From my theme's functions.php.
>> Now custom permalinks work.
>> 
>> (sorry for the bother!)
>> 
>> On 17 Aug 2011, at 13:28, Ian Douglas wrote:
>> 
>>> Okay, so the plugin WCS Custom Permalinks Hotfix fixes the issue, but it's pretty ugly (it reverts custom URLs in categories to the default permalinks structure, and they show up), and I'm running Wordpress 3.2.1, not 3.1.x, which the plugin was designed to use. Default permalinks works okay.
>>> 
>>> I have no plugins installed that should be interferring with the permalinks structure.
>>> 
>>> Is there a place in themes normally where permalinks would be defined?
>>> 
>>> 
>>> 
>>> On 17 Aug 2011, at 13:14, Ian Douglas wrote:
>>> 
>>>> p.s., I did the following, to no avail:
>>>> 
>>>> Deactivate Super Cache, switch to default permalinks, manually clear .htaccess, then reset permalinks and let WP write to .htaccess.
>>>> 
>>>> 
>>>> 
>>>> On 17 Aug 2011, at 13:02, Ian Douglas wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> I get 404 page not found errors when clicking on my categories in a jobs theme I'm using. The original developer is AWOL on themeforest. What could possibly explain that the categories exist, but I get the 404 error? I just need a few pointers, so I can try to troubleshoot the issue.
>>>>> 
>>>>> It happens whether on the frontend or the backend.
>>>>> 
>>>>> I tried updating the permalinks structure. No change.
>>>>> 
>>>>> Thanks
>>>>> ian
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> 
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list