02.03.2022
Removing the Category Base from Your URLs in WordPress
Wpmu blog
0 Комментариев 175 просмотров
Want to take the “category” base term out of your URL – turning mysite.com/category/news into mysite.com/news?
It’s pretty easy to do. You can just install and activate the FV Top Level Cats plugin. There are no settings and nothing to do. Just activate it.
Another Possibility
Another possible trick to get rid of the category base is to set your permalinks to /%category%/%postname%/ and then put a period/dot into the Category base form.
Go to Settings > Permalinks and set it up as follows.
While this trick currently works, there’s no telling if it will work in the future.
Щелкните ниже, чтобы поставить оценку!
Всего: 0 В среднем: 0