Steven Ferrino

Technical SEO / PHP Developer

  • Home
  • SEO
  • Local Search
  • PHP
You are here: Home / Wordpress / Wordpress Category Limitation with Slashes

WordPress Category Limitation with Slashes

April 6, 2011 by Steven Leave a Comment

I’ve found that when doing custom post types, and possibly all category naming, there is a limitation. Doing a category page for an item that contains a forward slash “/” in the name, not the slug does not work.

Examples:

  • Dude/Guest Ranch
  • AirConditioning/Refrigeration

It doesn’t convert it properly, therefore can not show results when doing a category query on it. The items must have at least 1 space before or after the slash, these both work properly:

  • Dude/ Guest Ranch
  • Dude /Guest Ranch

 

Filed Under: Wordpress

Steven Ferrino

Recent Posts

  • Google Business Service Account API & PubSub
  • Google Core March 2023 Not Just E-A-T
  • [Fix] – Jupiter Theme: /jupiter/dynamic-styles/global/header.php on line 346
  • Laravel 5.4: SQLSTATE[42000]: Password_resets – [Solution]
  • Restrict wp-login.php Access With Htaccess

Blogroll

  • Microdata Generator

Profiles

  • LinkedIn
  • Twitter

Copyright © 2025 · Dynamik-Gen on Genesis Framework · WordPress · Log in