Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Changing category id to name

sjeepssjeeps New
edited June 2007 in Vanilla 1
My question is how to change the category id to category name instead? Example: www.xxxx.com/1/, www.xxxx.com/2/, etc. to look like this: www.xxxx.com/categories/categoryname/ Thanks.

Comments

  • You need the friendly addons extension.
  • The Friendly URLs is what makes the example.com/1/ etc URLs. If you want them to be the category names instead of the IDs you need to edit the .htaccess file, and manually add the category name rewrites (for each category). I thought there was a comment somewhere here that described how to do it, but I can't find it, and I'm afraid I hardly know anything about mod_rewrite and can't help you myself.
  • Sorry I forgot to mention that I've the Friendly URLs extension running :) I don't know much about mod_rewrite either so I was wondering about where or what to edit in the .htaccess file. Thanks.
This discussion has been closed.