Modrewrite: category and discussion names
Hi
I searched this forum but didn't find the information I'm looking for.
I'm trying to change the following 2 things:
domain.tld/discussion/2/discussion-name/ to
domain.tld/discussion-name/
and
domain.tld/1/ to
domain.tld/category-name/
I'm sure someone has done this for his or hers forum. Could anyone post the code for the htaccess file?
PS: I'm using the Friendly Url Addon
I searched this forum but didn't find the information I'm looking for.
I'm trying to change the following 2 things:
domain.tld/discussion/2/discussion-name/ to
domain.tld/discussion-name/
and
domain.tld/1/ to
domain.tld/category-name/
I'm sure someone has done this for his or hers forum. Could anyone post the code for the htaccess file?
PS: I'm using the Friendly Url Addon
0
This discussion has been closed.
Comments
You could do domain.tld/2/discussion-name/ rather easily once you already defined rules for categories, but the discussion ID should be in place, otherwise things get complicated rather quickly when you need to handle more than one discussion with the same name.