TheOrganicSister
Member
Posted 1 year ago #
hey there, i recently installed and began using Advanced Permalinks. Everything seemed to be working fine until someone noticed that my categories weren't working.
at first they were linking to my homepage (http://theorganicsister.com). i went into AP again and added a category structure (it was blank, as per the instructions that leaving it will blank will result in default structure). now they are all going to a error 404 page.
ideas as to what is causing this and if there is a fix?
hartlrobert
Member
Posted 1 year ago #
It's just a problem with the category rewrites of the plugin.
So adjust in the normal permalink section the category base as wanted. I hope so you can keep your category urls. Because then it's easy.
Next edit the plugin Advanced Permalinks, the first selected file is right. Now look in the editor for:
$this->add_filter ('category_rewrite_rules');
and add simply
//
at the beginning.
Done.
Once I installed the Advanced Permalinks plugin, my category links didn't work either. Only the second level categories worked.
I added the // before the $this->add_filter ('category_rewrite_rules');
And now the categories work... but I am getting duplicate category text. For example, the old category used to be:
http://www.pregnancybaby411.com/category/babies/
And now, after adding the //
I get this:
http://www.pregnancybaby411.com/category/babies/babies/
How do I fix this?
blogodisea
Member
Posted 10 months ago #
I had this problem with categories, thanks for the fix, but now i found that statis pages are the same, showing an error blank page.
¿Does anybody now how to solve it? I think it must be difficult since WordPress shares the %postname% in entries and static pages.
aiweiwei
Member
Posted 9 months ago #
it works fine for me after i added the //, thx 4 the tips hartrobert, it saves my day, thx!!! :)