Why does it add /category/ to my categories in the URL?

by ncloud
4 replies
  • WEB DESIGN
  • |
(This is in Wordpress.)
One of my categories is fire, and I have articles on different ways of starting fire (it's a survival site). So If you click on the category "fire", the URL looks like this:

http://www.mydomain.com/category/fire/


How do I get /category/ out of there and get it to read like this like it's suppose to:


http://www.mydomain.com/fire/


If you go into settings > permalinks, I do have custom structure set to /%category%/%postname%/ like I was told to do. And at first it was doing it correctly, but not anymore for some reason.



Anybody know why it's adding /category/ to my categories in the URL?
#add #categories #or category or #url
  • Profile picture of the author raresmp
    The easiest way to get rid of that problem is by using a simple plugin.

    Have a look here for some plugins.

    Another solution will be to implement a solution into your functions.php file but if you are not that savvy I think it will pretty much be more of a headache. However if you fancy this solution I believe GitHub has a lot to offer.

    Regards
    {{ DiscussionBoard.errors[10143019].message }}
  • Profile picture of the author ncloud
    I don't understand why I would need a plugin, it was doing it correctly without one until it messed up for some reason. The thing that concerns me about plugins is that i seem to need one for everything and people say that you really shouldn't use very many of them because it can slow down how fast your site loads.
    {{ DiscussionBoard.errors[10143042].message }}
  • Profile picture of the author samntly
    there should be an option in the permalink. Go to Admin --> Settings --> Permalinks and select one of the options in there or create a custom structure that does NOT include /%category%/
    Signature

    Need A PHP Programmer That You Can Count On, That's Professional, Experienced in working with small and large clients. Reach me on skype at "Netlyte" or visit me at http://www.LCCWebDesign.com

    {{ DiscussionBoard.errors[10143244].message }}
  • Profile picture of the author topnichewebsites
    Wordpress Perm setting will correct that for you

    Mike
    Signature
    http://pixelcovers.com/ <- eBook add eCovers

    https://www.unicommercesolutions.com <- WordPress Websites and Maintenance
    {{ DiscussionBoard.errors[10143578].message }}

Trending Topics