WordPress Development Asked by Vlad on November 1, 2020
I have a paid plugin that creates a custom type categories and posts in this categories. I want to get URLs like site_name/category_name/post_name
. This plugin forms links like this:
for categories – site_name/category_name
site_name/category_name
I have installed plugin Custom Post Type Permalinks, configured it. When I click on post link, I have a 404 page of theme (not server). But URL is right. In the post edit page the permalink is right too.
Pages shows correctly.
I can’t change any file of paid plugin or theme (it’s already child theme). Can I resolve my problem with .htaccess or m.b. some another way?
P.S. By the way, I’ve already tried to configure permalinks in Settings->Permalinks->Custom structure but result is the same.
This is a common problem (that I just finished fixing). It seems to arise in a few different ways. Some people seem to be able to fix it by selecting the default permalink format and then switching back to their preferred one.
In my case, the problem seemed to be that I didn't have mod-rewrite properly enabled. Once I did the steps in this post, the problem was resovled.
I think I may have also made [this change], (Category links suddenly started giving 404 errors), but I'm pretty sure it was fully enabling mod-rewrite that did the trick.
Answered by abalter on November 1, 2020
0 Asked on November 22, 2020
0 Asked on November 19, 2020 by szachmat
0 Asked on November 15, 2020 by tacker
1 Asked on November 14, 2020 by joboy2212
1 Asked on November 7, 2020 by garrett-massey
1 Asked on November 3, 2020 by pual
1 Asked on October 27, 2020 by nikname
1 Asked on October 26, 2020 by zeth
3 Asked on October 24, 2020 by dave
0 Asked on October 24, 2020 by diederick-l
1 Asked on October 20, 2020 by quyet
2 Asked on October 18, 2020 by fntc
0 Asked on October 11, 2020 by shaun-hearnden
1 Asked on October 8, 2020 by rickmorty
1 Asked on October 1, 2020 by kwa
0 Asked on October 1, 2020 by demon
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP