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:
- Go to dashboard:
example.com/wp-admin/
Settings
MenuPermalinks
submenu- Select
Custom Structure
http://example.com/%post_id%/
Category or Tag archive pages
Manually set a numeric slug for categories or tags via Backend:
- Go to dashboard:
example.com/wp-admin/
Posts
->Categories
orTags
Menu- 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
/