If you want to tidy up your WordPress URLs by removing the category links from showing in your WordPress permalink, it’s easy.

Default WordPress Categories Permalinks

My default category URL / permalink will show – https://vnengineer.net/category/php/wordpress

After we make the changes below it will remove the Category links and display:

https://vnengineer.net/php/wordpress

Process to remove Category links from the WordPress Permalink

  • 1. Log into your WordPress Dashboard
  • 2. Go down to Settings – select Permalink
  • 3. Select Custom Structure – paste /%category%/%postname%-a%post_id%.html (must change existence /%category%/)
  • 4. Under Optional – Category base, put remove string in input
  • 5. Save Changes – Done!