How to remove all wordpress “page” slugs?
-
[ Moderator note: moved to Fixing WordPress. Please do not use Developing With WordPress for these topics. ]
Hi,
I would like to change url structure for archives to not include “page” slug anymore.
For example archived articles are listed in this organisation:mydomain.com/page/01 -> mydomain.com/01
mydomain.com/page/02 -> mydomain.com/02
mydomain.com/page/03 -> mydomain.com/03How can I do that with htaccess or functions.php? I already have permalinks structure set properly to /%category%/%postname%/ so that they show with corresponding archive name. If anyone know how to do rewriterule, kindly let me know.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to remove all wordpress “page” slugs?’ is closed to new replies.