Home > Mobile >  WP Change Category/Tags URL structure
WP Change Category/Tags URL structure

Time:11-02

I need to change tags & categories URL structure from mysite.com/category-name to NUMERIC URL --> mysite.com/random number (For example mysite.com/4393093 something like that) or post ID.

CodePudding user response:

You can do that via WordPress Backend.

Single post pages

Change the URL structure for single post pages via Backend settings:

  1. Go to dashboard: example.com/wp-admin/
  2. Settings Menu
  3. Permalinks submenu
  4. Select Custom Structure
  5. http://example.com/%post_id%/

Category or Tag archive pages

Manually set a numeric slug for categories or tags via Backend:

  1. Go to dashboard: example.com/wp-admin/
  2. Posts->Categories or Tags Menu
  3. Change the slug of the very category or tag to a numeric value

CodePudding user response:

from paramlinks you can use for catagory and post as: is esay to use

/

  • Related